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.0101/0.0101, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001912/0.001912, allocations: 197.3 kB / 16.68 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.582/1.582, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.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.892/2.892, allocations: 437 MB / 0.7105 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 67.91 kB / 1.019 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4061, allocations: 151.6 MB / 1.167 GB, free: 6.891 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003004/0.4092, allocations: 1.426 MB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.4109, allocations: 1.1 MB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.411, allocations: 4 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.248e-05/0.4111, allocations: 39.53 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.4113, allocations: 43.55 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.4117, allocations: 123.8 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00033/0.412, allocations: 336.6 kB / 1.17 GB, free: 3.797 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003502/0.4123, allocations: 202 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.4126, allocations: 135.4 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.4127, allocations: 147.3 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.569e-05/0.4128, allocations: 40 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.615e-05/0.4129, allocations: 40 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.366e-05/0.4129, allocations: 79.69 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.4131, allocations: 159.1 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004875/0.4136, allocations: 477.9 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.4136, allocations: 0 / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4136, allocations: 3.938 kB / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.4136, allocations: 0 / 1.171 GB, free: 2.539 MB / 0.92 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.00091/0.4145, allocations: 0.5883 MB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.4146, allocations: 12.03 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.911e-05/0.4147, allocations: 36.7 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005601/0.4152, allocations: 325.2 kB / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/0.4153, allocations: 25.03 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.186e-05/0.4153, allocations: 28.38 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005659/0.4159, allocations: 286.6 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.4159, allocations: 4.188 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.416, allocations: 19.94 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.416, allocations: 8 kB / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005235/0.4165, allocations: 226.4 kB / 1.172 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.4177, allocations: 0.8 MB / 1.173 GB, free: 52 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004927/0.4182, allocations: 234.7 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.4185, allocations: 112.8 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.755e-05/0.4185, allocations: 4 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.4186, allocations: 42.56 kB / 1.174 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.4186, allocations: 0 / 1.174 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26): time 0.00075/0.4193, allocations: 295.3 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.4194, allocations: 63.38 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.4196, allocations: 215.6 kB / 1.174 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.4197, allocations: 29.7 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.4198, allocations: 176.6 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.108e-05/0.4199, allocations: 83.27 kB / 1.174 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.32e-05/0.42, allocations: 65.97 kB / 1.174 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4201, allocations: 330.8 kB / 1.175 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.4203, allocations: 80.52 kB / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.4206, allocations: 139.9 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.421, allocations: 225.5 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.421, allocations: 0 / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005187/0.4215, allocations: 269.2 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.4215, allocations: 4 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.4216, allocations: 7.984 kB / 1.175 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.4216, allocations: 0 / 1.175 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.4218, allocations: 63.78 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.4219, allocations: 4 kB / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.422, allocations: 35.77 kB / 1.176 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.422, allocations: 8.219 kB / 1.176 GB, free: 13.49 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: 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.0001628/0.4222, allocations: 153.8 kB / 1.176 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/0.4222, allocations: 19.86 kB / 1.176 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005696/0.4228, allocations: 246.9 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.4228, allocations: 7.938 kB / 1.176 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4228, allocations: 4 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4229, allocations: 7.969 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003895/0.4233, allocations: 345.4 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4233, allocations: 0 / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.4235, allocations: 43.91 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.4235, allocations: 4 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.4235, allocations: 4 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.4235, allocations: 7.938 kB / 1.176 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4235, allocations: 0 / 1.176 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005059/0.424, allocations: 323.7 kB / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.41e-05/0.4241, allocations: 104.9 kB / 1.177 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.4241, allocations: 4 kB / 1.177 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.4243, allocations: 15.92 kB / 1.177 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/0.4244, allocations: 27.97 kB / 1.177 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.4244, allocations: 8 kB / 1.177 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001179/0.4245, allocations: 136.2 kB / 1.177 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4245, allocations: 0 / 1.177 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003071/0.4248, allocations: 63.78 kB / 1.177 GB, free: 11.9 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: 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.0001604/0.425, allocations: 109.5 kB / 1.177 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005346/0.4255, allocations: 223 kB / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4255, allocations: 0 / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.4258, allocations: 107.9 kB / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.4262, allocations: 32.17 kB / 1.177 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008615/0.427, allocations: 475.9 kB / 1.178 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.4274, allocations: 0.7636 MB / 1.179 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001222/0.4275, allocations: 34.28 kB / 1.179 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.27e-05/0.4276, allocations: 31.42 kB / 1.179 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of SimCode: time 1.503e-06/0.4276, allocations: 3.938 kB / 1.179 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of Templates: time 0.005281/0.4329, allocations: 1.894 MB / 1.181 GB, free: 8.238 MB / 0.9356 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/jenkins/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