Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 104.9 kB / 16.4 MB, free: 6.379 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.001646/0.001646, allocations: 184.3 kB / 17.33 MB, free: 5.852 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.498/2.498, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 59.91 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7539/0.7552, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002689/0.758, allocations: 1.423 MB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.7595, allocations: 1.104 MB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.7597, allocations: 4 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.7598, allocations: 39.53 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.76, allocations: 35.53 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.7604, allocations: 119.9 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003316/0.7607, allocations: 344.6 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003499/0.7611, allocations: 214 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.7613, allocations: 135.4 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.7615, allocations: 155.2 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.503e-05/0.7616, allocations: 40 kB / 1.212 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.696e-05/0.7616, allocations: 36 kB / 1.212 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.945e-05/0.7617, allocations: 79.77 kB / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.7618, allocations: 159.1 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.7623, allocations: 486 kB / 1.213 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.7623, allocations: 0 / 1.213 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7623, allocations: 7.875 kB / 1.213 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.7623, allocations: 4 kB / 1.213 GB, free: 9.203 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.000855/0.7632, allocations: 0.5792 MB / 1.213 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.7632, allocations: 8.031 kB / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.331e-05/0.7633, allocations: 40.47 kB / 1.213 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004996/0.7638, allocations: 329.3 kB / 1.214 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.7638, allocations: 29.38 kB / 1.214 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.7639, allocations: 32.38 kB / 1.214 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/0.7644, allocations: 295.1 kB / 1.214 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.7644, allocations: 192 / 1.214 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.7645, allocations: 15.94 kB / 1.214 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.7645, allocations: 8 kB / 1.214 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004982/0.765, allocations: 231.9 kB / 1.214 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.7661, allocations: 0.821 MB / 1.215 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004557/0.7666, allocations: 247.4 kB / 1.215 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.7668, allocations: 121.3 kB / 1.215 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.7669, allocations: 240 / 1.215 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.7669, allocations: 42.8 kB / 1.215 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=27): time 2.384e-06/0.7669, allocations: 0 / 1.215 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of matching and sorting (n=27): time 0.0007191/0.7676, allocations: 315.8 kB / 1.216 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.7677, allocations: 55.41 kB / 1.216 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.7679, allocations: 203.6 kB / 1.216 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.7679, allocations: 33.7 kB / 1.216 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.768, allocations: 180.1 kB / 1.216 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.684e-05/0.7681, allocations: 74.91 kB / 1.216 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.146e-05/0.7682, allocations: 69.97 kB / 1.216 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.7683, allocations: 330.8 kB / 1.217 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.7685, allocations: 80.52 kB / 1.217 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.7687, allocations: 143.9 kB / 1.217 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.7692, allocations: 222.9 kB / 1.217 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.7692, allocations: 4 kB / 1.217 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005322/0.7697, allocations: 273.1 kB / 1.217 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.7697, allocations: 4 kB / 1.217 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.7697, allocations: 7.938 kB / 1.217 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.7698, allocations: 8.156 kB / 1.217 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.77, allocations: 59.84 kB / 1.217 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.7701, allocations: 7.984 kB / 1.217 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.7702, allocations: 31.69 kB / 1.217 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.7702, allocations: 11.98 kB / 1.217 GB, free: 4.086 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.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 (34): * Single equations (assignments): 34 * 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.0001884/0.7704, allocations: 153.8 kB / 1.218 GB, free: 3.926 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/0.7705, allocations: 19.81 kB / 1.218 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005459/0.771, allocations: 252.3 kB / 1.218 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.771, allocations: 7.938 kB / 1.218 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.771, allocations: 3.938 kB / 1.218 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.771, allocations: 0 / 1.218 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003518/0.7714, allocations: 353.3 kB / 1.218 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.7714, allocations: 0 / 1.218 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.7716, allocations: 39.97 kB / 1.218 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.7716, allocations: 4 kB / 1.218 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.7716, allocations: 4 kB / 1.218 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.7716, allocations: 3.938 kB / 1.218 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7717, allocations: 0 / 1.218 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004844/0.7721, allocations: 331.1 kB / 1.219 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.7722, allocations: 104.8 kB / 1.219 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.7722, allocations: 4 kB / 1.219 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.7724, allocations: 15.92 kB / 1.219 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.697e-05/0.7725, allocations: 23.97 kB / 1.219 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.7725, allocations: 11.98 kB / 1.219 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.695e-05/0.7726, allocations: 141.5 kB / 1.219 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7726, allocations: 0 / 1.219 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002931/0.7729, allocations: 59.69 kB / 1.219 GB, free: 2.488 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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.0001262/0.773, allocations: 116.7 kB / 1.219 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004989/0.7735, allocations: 215.8 kB / 1.219 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.7735, allocations: 4 kB / 1.219 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.7738, allocations: 109.2 kB / 1.219 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.7741, allocations: 32 kB / 1.219 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008561/0.7749, allocations: 0.4962 MB / 1.22 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.7752, allocations: 0.7636 MB / 1.221 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.537e-05/0.7753, allocations: 31.42 kB / 1.221 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.7753, allocations: 3.938 kB / 1.221 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of Templates: time 0.005201/0.7805, allocations: 3.064 MB / 1.224 GB, free: 13.61 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches