Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008282/0.0008282, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000782/0.000782, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8561/0.8561, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.719/1.719, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.574e-06/2.574e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.156e-05, allocations: 9.172 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.001729/0.001761, allocations: 0.9653 MB / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.002765, allocations: 1.014 MB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.192e-05/0.002827, allocations: 4 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.065e-05/0.002867, allocations: 23.69 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.215e-05/0.002959, allocations: 23.8 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.003173, allocations: 67.73 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.003315, allocations: 176.1 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.00346, allocations: 60.73 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.003651, allocations: 107.7 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.664e-05/0.003728, allocations: 55.8 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.003753, allocations: 16 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.406e-05/0.003797, allocations: 20 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.003822, allocations: 43.89 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.003861, allocations: 51.83 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.004066, allocations: 227.2 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.004068, allocations: 0 / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004069, allocations: 0 / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.004072, allocations: 0 / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0004952/0.004568, allocations: 381.6 kB / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.004604, allocations: 12.75 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.004709, allocations: 24.83 kB / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.004971, allocations: 199.5 kB / 1.004 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.004988, allocations: 16.23 kB / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.005004, allocations: 12.38 kB / 1.004 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.005226, allocations: 147.7 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.005235, allocations: 4.125 kB / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.005249, allocations: 8.375 kB / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-06/0.005255, allocations: 4.375 kB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.005446, allocations: 124.4 kB / 1.005 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004365/0.005883, allocations: 391.8 kB / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.006081, allocations: 110.7 kB / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.243e-05/0.006163, allocations: 52.77 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.006179, allocations: 0 / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.006201, allocations: 42.5 kB / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=12): time 8.32e-07/0.006202, allocations: 0 / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12): time 0.0003307/0.006532, allocations: 173.5 kB / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.006564, allocations: 55.41 kB / 1.005 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.901e-05/0.006663, allocations: 156.8 kB / 1.006 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.006676, allocations: 29.7 kB / 1.006 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.565e-05/0.006732, allocations: 116.4 kB / 1.006 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.006762, allocations: 43.72 kB / 1.006 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.006805, allocations: 37.66 kB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.088e-05/0.006886, allocations: 322.8 kB / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.89e-05/0.006965, allocations: 51.84 kB / 1.006 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.125e-05/0.007056, allocations: 75.39 kB / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.007223, allocations: 111.3 kB / 1.006 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.007225, allocations: 0 / 1.006 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002026/0.007428, allocations: 157.5 kB / 1.006 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.007442, allocations: 7.984 kB / 1.006 GB, free: 7.117 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.007446, allocations: 0 / 1.006 GB, free: 7.117 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.007459, allocations: 4.094 kB / 1.006 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.237e-05/0.007551, allocations: 31.92 kB / 1.006 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.007558, allocations: 4 kB / 1.006 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.007604, allocations: 15.88 kB / 1.006 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.00761, allocations: 4 kB / 1.007 GB, free: 7.059 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.y,actAirSet.or3.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.826e-05/0.007689, allocations: 129.8 kB / 1.007 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.007707, allocations: 11.89 kB / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.007734, allocations: 20.77 kB / 1.007 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.007737, allocations: 4 kB / 1.007 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.00774, allocations: 0 / 1.007 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.007743, allocations: 3.938 kB / 1.007 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.007872, allocations: 157.2 kB / 1.007 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.007873, allocations: 0 / 1.007 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.47e-05/0.007928, allocations: 31.91 kB / 1.007 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.007931, allocations: 3.938 kB / 1.007 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.007938, allocations: 0 / 1.007 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.00794, allocations: 4 kB / 1.007 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.007941, allocations: 0 / 1.007 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.008155, allocations: 231.9 kB / 1.007 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.008168, allocations: 19.78 kB / 1.007 GB, free: 6.398 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.008182, allocations: 0 / 1.007 GB, free: 6.398 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.254e-05/0.008234, allocations: 15.98 kB / 1.007 GB, free: 6.383 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.008291, allocations: 15.97 kB / 1.007 GB, free: 6.367 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.008297, allocations: 7.938 kB / 1.007 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.99e-05/0.008347, allocations: 109.7 kB / 1.007 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008347, allocations: 3.938 kB / 1.007 GB, free: 6.25 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001697/0.008516, allocations: 27.95 kB / 1.007 GB, free: 6.223 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.564e-05/0.008602, allocations: 111.2 kB / 1.007 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002112/0.008813, allocations: 103.9 kB / 1.007 GB, free: 6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008815, allocations: 0 / 1.007 GB, free: 6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.163e-05/0.008896, allocations: 52.09 kB / 1.008 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.009119, allocations: 36.67 kB / 1.008 GB, free: 5.914 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.009539, allocations: 289.4 kB / 1.008 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.059e-05/0.009609, allocations: 103.4 kB / 1.008 GB, free: 5.48 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.009655, allocations: 20.5 kB / 1.008 GB, free: 5.461 MB / 0.9636 GB Notification: Performance of SimCode: time 6.61e-07/0.009656, allocations: 0 / 1.008 GB, free: 5.461 MB / 0.9636 GB Notification: Performance of Templates: time 0.002339/0.01199, allocations: 1.769 MB / 1.01 GB, free: 3.699 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.2042409628629684]