Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001642/0.001642, allocations: 111.8 kB / 16.41 MB, free: 6.492 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.001759/0.00176, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.525/1.525, 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 10.1.1-maint.10.0.x/package.mo): time 2.805/2.805, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 63.89 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8644/0.8665, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.00347/0.87, allocations: 1.43 MB / 1.169 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001847/0.8719, allocations: 1.092 MB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.872, allocations: 4 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.8722, allocations: 39.53 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.8724, allocations: 47.53 kB / 1.17 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.8728, allocations: 119.9 kB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000449/0.8732, allocations: 336.6 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004245/0.8736, allocations: 206 kB / 1.171 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.8739, allocations: 143.4 kB / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.8741, allocations: 147.2 kB / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.199e-05/0.8742, allocations: 40 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.049e-05/0.8742, allocations: 36 kB / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.095e-05/0.8743, allocations: 75.77 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.8745, allocations: 163.1 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005737/0.8751, allocations: 474.5 kB / 1.172 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.8751, allocations: 0 / 1.172 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.335e-06/0.8751, allocations: 0 / 1.172 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.8751, allocations: 8 kB / 1.172 GB, free: 15.47 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001001/0.8761, allocations: 0.5806 MB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.8762, allocations: 8.922 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.324e-05/0.8763, allocations: 40.7 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006637/0.877, allocations: 325.2 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/0.877, allocations: 33.03 kB / 1.173 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/0.8771, allocations: 28.38 kB / 1.173 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006028/0.8777, allocations: 278.6 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.8777, allocations: 192 / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.817e-05/0.8777, allocations: 23.88 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.8778, allocations: 11.98 kB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005665/0.8783, allocations: 230.5 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.8798, allocations: 0.8039 MB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005352/0.8803, allocations: 233.3 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/0.8806, allocations: 112.8 kB / 1.174 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.293e-05/0.8806, allocations: 11.97 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.8807, allocations: 38.55 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=26): time 1.713e-06/0.8807, allocations: 0 / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26): time 0.0008296/0.8815, allocations: 290 kB / 1.175 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/0.8816, allocations: 67.34 kB / 1.175 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.8819, allocations: 211.7 kB / 1.175 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.731e-05/0.8819, allocations: 25.7 kB / 1.175 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.8821, allocations: 188.4 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.691e-05/0.8822, allocations: 75.33 kB / 1.175 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.8823, allocations: 69.97 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002005/0.8825, allocations: 330.8 kB / 1.175 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.8827, allocations: 84.45 kB / 1.176 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.883, allocations: 140.4 kB / 1.176 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004629/0.8835, allocations: 217.5 kB / 1.176 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.72e-05/0.8835, allocations: 8 kB / 1.176 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005637/0.8841, allocations: 263.5 kB / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.8841, allocations: 4 kB / 1.176 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.8842, allocations: 4 kB / 1.176 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.8842, allocations: 4 kB / 1.176 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.8844, allocations: 64.06 kB / 1.176 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.8845, allocations: 7.922 kB / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.8846, allocations: 31.78 kB / 1.176 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.8846, allocations: 15.98 kB / 1.176 GB, free: 10.42 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (33): * Single equations (assignments): 33 * 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.8848, allocations: 145.8 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/0.8849, allocations: 23.86 kB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006167/0.8855, allocations: 243.6 kB / 1.177 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.8855, allocations: 7.938 kB / 1.177 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.8856, allocations: 0 / 1.177 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.8856, allocations: 0 / 1.177 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004862/0.8861, allocations: 345.4 kB / 1.177 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.8861, allocations: 0 / 1.177 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.8863, allocations: 39.91 kB / 1.177 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.8863, allocations: 4 kB / 1.177 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.8863, allocations: 11.98 kB / 1.177 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.8863, allocations: 3.938 kB / 1.177 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8863, allocations: 0 / 1.177 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005831/0.8869, allocations: 325.6 kB / 1.177 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.841e-05/0.887, allocations: 100.9 kB / 1.177 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.8871, allocations: 8 kB / 1.177 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.8872, allocations: 19.92 kB / 1.177 GB, free: 9.066 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.595e-05/0.8873, allocations: 27.97 kB / 1.177 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.8873, allocations: 7.984 kB / 1.177 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001431/0.8875, allocations: 136.2 kB / 1.178 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8875, allocations: 0 / 1.178 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002996/0.8878, allocations: 59.78 kB / 1.178 GB, free: 8.84 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0001978/0.888, allocations: 121.5 kB / 1.178 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005292/0.8885, allocations: 214.4 kB / 1.178 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8885, allocations: 0 / 1.178 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002647/0.8888, allocations: 108.3 kB / 1.178 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.8892, allocations: 40.91 kB / 1.178 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.8902, allocations: 473.5 kB / 1.179 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004986/0.8907, allocations: 0.7636 MB / 1.179 GB, free: 7.086 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001554/0.8909, allocations: 34.27 kB / 1.179 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.698e-05/0.891, allocations: 31.44 kB / 1.179 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of SimCode: time 4.41e-07/0.891, allocations: 0 / 1.179 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of Templates: time 0.006466/0.8975, allocations: 1.885 MB / 1.181 GB, free: 5.184 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches