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.001813/0.001813, allocations: 118.7 kB / 16.42 MB, free: 6.5 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.002056/0.002056, allocations: 183.9 kB / 17.35 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.378/1.378, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.461/2.461, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 59.91 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9544/0.9558, allocations: 151.6 MB / 1.167 GB, free: 4.047 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002917/0.9588, allocations: 1.423 MB / 1.169 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001751/0.9606, allocations: 1.1 MB / 1.17 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002284/0.9608, allocations: 4 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.961, allocations: 35.53 kB / 1.17 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.9612, allocations: 51.53 kB / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.9616, allocations: 119.8 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004192/0.962, allocations: 332.7 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003958/0.9624, allocations: 209.9 kB / 1.171 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.9627, allocations: 139.4 kB / 1.171 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.9629, allocations: 147.3 kB / 1.171 GB, free: 492 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.804e-05/0.963, allocations: 40 kB / 1.171 GB, free: 452 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.469e-05/0.9631, allocations: 40 kB / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.314e-05/0.9632, allocations: 79.75 kB / 1.171 GB, free: 332 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.9633, allocations: 159.1 kB / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000537/0.9639, allocations: 472 kB / 1.172 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.9639, allocations: 0 / 1.172 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.517e-06/0.9639, allocations: 0 / 1.172 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.639e-05/0.9639, allocations: 3.938 kB / 1.172 GB, free: 15.7 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.0009726/0.9649, allocations: 0.5694 MB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.965, allocations: 12.92 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.916e-05/0.965, allocations: 36.47 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005545/0.9656, allocations: 329.1 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.9656, allocations: 25.03 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.9657, allocations: 28.38 kB / 1.173 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005476/0.9662, allocations: 282.6 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.9663, allocations: 4.188 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.9663, allocations: 15.94 kB / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.9663, allocations: 8 kB / 1.173 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000521/0.9668, allocations: 230.5 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.9681, allocations: 0.8034 MB / 1.174 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004891/0.9686, allocations: 237.1 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.9689, allocations: 108.8 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.881e-05/0.9689, allocations: 7.984 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.969, allocations: 42.55 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=26): time 1.503e-06/0.969, allocations: 0 / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26): time 0.000749/0.9697, allocations: 297.8 kB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.9698, allocations: 59.34 kB / 1.175 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.97, allocations: 211.7 kB / 1.175 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.97, allocations: 33.64 kB / 1.175 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.9701, allocations: 168.3 kB / 1.175 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.708e-05/0.9702, allocations: 86.83 kB / 1.175 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.517e-05/0.9703, allocations: 69.81 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.9705, allocations: 330.8 kB / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.9707, allocations: 76.52 kB / 1.175 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.971, allocations: 144.4 kB / 1.176 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004494/0.9714, allocations: 217.2 kB / 1.176 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.9714, allocations: 0 / 1.176 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005916/0.972, allocations: 267.4 kB / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.9721, allocations: 8 kB / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.9721, allocations: 0 / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.9721, allocations: 4 kB / 1.176 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.9724, allocations: 51.91 kB / 1.176 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.9724, allocations: 15.86 kB / 1.176 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.9725, allocations: 23.75 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.9726, allocations: 16.22 kB / 1.176 GB, free: 10.69 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.0001804/0.9728, allocations: 161.7 kB / 1.176 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.82e-05/0.9728, allocations: 15.81 kB / 1.176 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005786/0.9734, allocations: 249.5 kB / 1.177 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.9734, allocations: 4 kB / 1.177 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.9734, allocations: 3.938 kB / 1.177 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.82e-05/0.9735, allocations: 92.86 kB / 1.177 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.9735, allocations: 8 kB / 1.177 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.9737, allocations: 11.98 kB / 1.177 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.9738, allocations: 23.97 kB / 1.177 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005931/0.9744, allocations: 320.7 kB / 1.177 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005622/0.975, allocations: 401.4 kB / 1.177 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002141/0.9752, allocations: 99.94 kB / 1.178 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001208/0.9753, allocations: 136.2 kB / 1.178 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of Backend: time 3.757e-06/0.9753, allocations: 0 / 1.178 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00066/0.976, allocations: 219.3 kB / 1.178 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0009802/0.977, allocations: 0.8621 MB / 1.179 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of Templates: time 0.005646/0.9826, allocations: 2.21 MB / 1.181 GB, free: 5.836 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 -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