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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007662/0.007662, allocations: 100.4 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 184.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.821/2.821, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 59.91 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4337, allocations: 157.4 MB / 1.208 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.003324/0.4371, allocations: 1.014 MB / 1.209 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00211/0.4393, allocations: 0.9835 MB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001828/0.4395, allocations: 4 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.617e-05/0.4396, allocations: 15.8 kB / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002212/0.4398, allocations: 27.72 kB / 1.21 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.4401, allocations: 63.88 kB / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002848/0.4404, allocations: 164 kB / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002724/0.4407, allocations: 100.3 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.441, allocations: 71.7 kB / 1.21 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.4412, allocations: 79.61 kB / 1.21 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.638e-05/0.4412, allocations: 20 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.652e-05/0.4413, allocations: 19.94 kB / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.555e-05/0.4413, allocations: 27.92 kB / 1.21 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.4415, allocations: 83.53 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004125/0.4419, allocations: 223.2 kB / 1.211 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4419, allocations: 0 / 1.211 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4419, allocations: 0 / 1.211 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.418e-05/0.4419, allocations: 0 / 1.211 GB, free: 6.742 MB / 0.9669 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.0008762/0.4428, allocations: 456.3 kB / 1.211 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.4429, allocations: 12.62 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.731e-05/0.443, allocations: 16.75 kB / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004869/0.4435, allocations: 260 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.4435, allocations: 12.38 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.4435, allocations: 12.38 kB / 1.211 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/0.4439, allocations: 150.5 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.4439, allocations: 4.125 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.444, allocations: 11.94 kB / 1.211 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.444, allocations: 4 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003456/0.4443, allocations: 123.9 kB / 1.212 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007643/0.4451, allocations: 480.1 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/0.4454, allocations: 118.6 kB / 1.212 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.4456, allocations: 56.83 kB / 1.212 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.4457, allocations: 7.984 kB / 1.212 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.4457, allocations: 30.56 kB / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.873e-06/0.4457, allocations: 0 / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0005827/0.4463, allocations: 173.4 kB / 1.212 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.4463, allocations: 55.41 kB / 1.212 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.4465, allocations: 156.8 kB / 1.213 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.4466, allocations: 25.7 kB / 1.213 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.964e-05/0.4467, allocations: 136 kB / 1.213 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.4467, allocations: 27.56 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.4468, allocations: 45.69 kB / 1.213 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.447, allocations: 322.8 kB / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.4471, allocations: 47.97 kB / 1.213 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.4473, allocations: 71.39 kB / 1.213 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.4476, allocations: 107.3 kB / 1.213 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4476, allocations: 0 / 1.213 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003924/0.448, allocations: 149.4 kB / 1.214 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.448, allocations: 4 kB / 1.214 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.448, allocations: 8.094 kB / 1.214 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.4481, allocations: 4 kB / 1.214 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.4482, allocations: 39.84 kB / 1.214 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.4483, allocations: 0 / 1.214 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.4484, allocations: 19.83 kB / 1.214 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.4484, allocations: 4 kB / 1.214 GB, free: 3.402 MB / 0.9669 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 0.0001879/0.4486, allocations: 133.7 kB / 1.214 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.4487, allocations: 11.91 kB / 1.214 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.4487, allocations: 20.7 kB / 1.214 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.4487, allocations: 4 kB / 1.214 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.4487, allocations: 0 / 1.214 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4487, allocations: 0 / 1.214 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.449, allocations: 237.4 kB / 1.214 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.449, allocations: 0 / 1.214 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.4492, allocations: 19.98 kB / 1.214 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4492, allocations: 0 / 1.214 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.4492, allocations: 7.984 kB / 1.214 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.4492, allocations: 4 kB / 1.214 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4492, allocations: 4 kB / 1.214 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/0.4496, allocations: 235.8 kB / 1.214 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.321e-05/0.4497, allocations: 88.95 kB / 1.214 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.4497, allocations: 0 / 1.214 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.4499, allocations: 11.98 kB / 1.214 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.693e-05/0.4499, allocations: 19.98 kB / 1.214 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.45, allocations: 4 kB / 1.214 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.316e-05/0.4501, allocations: 113.4 kB / 1.214 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4501, allocations: 0 / 1.214 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002646/0.4503, allocations: 27.91 kB / 1.214 GB, free: 2.383 MB / 0.9669 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 0.0001605/0.4505, allocations: 107.2 kB / 1.215 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003781/0.4509, allocations: 119.8 kB / 1.215 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4509, allocations: 0 / 1.215 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.4511, allocations: 63.89 kB / 1.215 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.4514, allocations: 16 kB / 1.215 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006454/0.4521, allocations: 281.1 kB / 1.215 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.4525, allocations: 0.7123 MB / 1.216 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.74e-05/0.4526, allocations: 25 kB / 1.216 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.4526, allocations: 15.44 kB / 1.216 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of SimCode: time 3.1e-07/0.4526, allocations: 0 / 1.216 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of Templates: time 0.00451/0.4571, allocations: 1.262 MB / 1.217 GB, free: 15.79 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) 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) Reference file matches