Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001532/0.001532, allocations: 112.1 kB / 16.41 MB, free: 6.008 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.001337/0.001338, allocations: 185 kB / 17.34 MB, free: 5.629 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.604/1.604, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.447/2.447, allocations: 390.3 MB / 0.6655 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 67.89 kB / 0.9516 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9686/0.9708, allocations: 140.4 MB / 1.089 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002811/0.9737, allocations: 1.425 MB / 1.09 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.9753, allocations: 1.089 MB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.9755, allocations: 4.344 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.028e-05/0.9756, allocations: 34.88 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001644/0.9758, allocations: 46.75 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.9762, allocations: 120.5 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004118/0.9766, allocations: 334.4 kB / 1.092 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004382/0.977, allocations: 204.8 kB / 1.092 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.9773, allocations: 136.7 kB / 1.092 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.9775, allocations: 145.3 kB / 1.092 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.006e-05/0.9775, allocations: 38.34 kB / 1.092 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.986e-05/0.9776, allocations: 37.41 kB / 1.092 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.781e-05/0.9777, allocations: 77.78 kB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.9778, allocations: 163.6 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005773/0.9784, allocations: 477.8 kB / 1.093 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.9784, allocations: 0 / 1.093 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.655e-06/0.9784, allocations: 0.8125 kB / 1.093 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.9785, allocations: 0 / 1.093 GB, free: 3.031 MB / 0.8575 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.0008445/0.9793, allocations: 0.5709 MB / 1.093 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.9794, allocations: 9.75 kB / 1.093 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.228e-05/0.9794, allocations: 42.97 kB / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005295/0.98, allocations: 329.3 kB / 1.094 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.736e-05/0.98, allocations: 24.81 kB / 1.094 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.926e-05/0.9801, allocations: 32.81 kB / 1.094 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006512/0.9807, allocations: 293 kB / 1.094 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.9808, allocations: 0 / 1.094 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.9808, allocations: 14.91 kB / 1.094 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.9808, allocations: 7.594 kB / 1.094 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005847/0.9814, allocations: 231.6 kB / 1.094 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.9827, allocations: 0.8009 MB / 1.095 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000502/0.9832, allocations: 229.7 kB / 1.095 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/0.9835, allocations: 110.8 kB / 1.095 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/0.9835, allocations: 15.39 kB / 1.095 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.9836, allocations: 36.78 kB / 1.096 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=26): time 1.392e-06/0.9836, allocations: 1.125 kB / 1.096 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of matching and sorting (n=26): time 0.000828/0.9844, allocations: 297.3 kB / 1.096 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.9844, allocations: 59.08 kB / 1.096 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.9847, allocations: 212.6 kB / 1.096 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.9847, allocations: 27.59 kB / 1.096 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.9848, allocations: 179.2 kB / 1.096 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.017e-05/0.9849, allocations: 78.41 kB / 1.096 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.985, allocations: 67.33 kB / 1.096 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.418e-05/0.9851, allocations: 330.1 kB / 1.097 GB, free: 352 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.9853, allocations: 78.55 kB / 1.097 GB, free: 328 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.9856, allocations: 138.9 kB / 1.097 GB, free: 232 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/0.986, allocations: 210.2 kB / 1.097 GB, free: 100 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.9861, allocations: 1.406 kB / 1.097 GB, free: 100 kB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000654/0.9867, allocations: 267.7 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.9867, allocations: 9.625 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.9868, allocations: 6.75 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.9868, allocations: 3.688 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.9871, allocations: 55.67 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/0.9871, allocations: 8.516 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.9873, allocations: 32.33 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.9873, allocations: 17.44 kB / 1.097 GB, free: 15.93 MB / 0.8731 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.0001777/0.9875, allocations: 159.9 kB / 1.098 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/0.9875, allocations: 17.03 kB / 1.098 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007124/0.9883, allocations: 255.6 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.9883, allocations: 2.562 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.9883, allocations: 1.469 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.9883, allocations: 1.219 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004612/0.9888, allocations: 339.7 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.9888, allocations: 0.5156 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.989, allocations: 45.25 kB / 1.098 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.989, allocations: 1.188 kB / 1.098 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.989, allocations: 10.75 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.989, allocations: 5.172 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9891, allocations: 1.094 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000574/0.9896, allocations: 332.2 kB / 1.099 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.385e-05/0.9897, allocations: 95.34 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.9897, allocations: 10.22 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.9899, allocations: 17.05 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.78e-05/0.99, allocations: 23.08 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.99, allocations: 9.641 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001264/0.9902, allocations: 136 kB / 1.099 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9902, allocations: 0 / 1.099 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003242/0.9905, allocations: 61.69 kB / 1.099 GB, free: 14.94 MB / 0.8731 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.0001702/0.9907, allocations: 113.7 kB / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005641/0.9912, allocations: 218.5 kB / 1.099 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.9913, allocations: 0 / 1.099 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.9915, allocations: 109.1 kB / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.9919, allocations: 23.39 kB / 1.099 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009845/0.9929, allocations: 0.4902 MB / 1.1 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.9933, allocations: 0.7665 MB / 1.101 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.688e-05/0.9934, allocations: 31.28 kB / 1.101 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of SimCode: time 5.2e-07/0.9934, allocations: 1.062 kB / 1.101 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of Templates: time 0.006654/1, allocations: 3.01 MB / 1.104 GB, free: 13.34 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches