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.008538/0.008538, allocations: 100.5 kB / 15.73 MB, free: 5.977 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.001538/0.001538, allocations: 195.2 kB / 16.67 MB, free: 5.914 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.588/1.588, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.072/3.072, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.89 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.4009, allocations: 157.4 MB / 1.208 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003144/0.404, allocations: 1.429 MB / 1.209 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.4055, allocations: 1.1 MB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.4057, allocations: 4 kB / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.663e-05/0.4058, allocations: 39.47 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.406, allocations: 35.55 kB / 1.21 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.4063, allocations: 115.9 kB / 1.21 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003665/0.4067, allocations: 340.6 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003952/0.4071, allocations: 214 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.4073, allocations: 143.4 kB / 1.211 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.4075, allocations: 151.2 kB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.518e-05/0.4076, allocations: 40 kB / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.298e-05/0.4076, allocations: 36 kB / 1.211 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.949e-05/0.4077, allocations: 83.75 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.4079, allocations: 159.1 kB / 1.212 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004455/0.4083, allocations: 482.2 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4083, allocations: 0 / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4083, allocations: 0 / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.487e-06/0.4083, allocations: 0 / 1.212 GB, free: 5.219 MB / 0.9669 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.0009045/0.4092, allocations: 0.5939 MB / 1.213 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.4093, allocations: 8.625 kB / 1.213 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.178e-05/0.4094, allocations: 36.56 kB / 1.213 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005376/0.4099, allocations: 325.4 kB / 1.213 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.41, allocations: 25.38 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/0.41, allocations: 32.38 kB / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005422/0.4106, allocations: 291.1 kB / 1.213 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.4106, allocations: 192 / 1.213 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.4106, allocations: 15.94 kB / 1.213 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/0.4106, allocations: 11.98 kB / 1.213 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005154/0.4112, allocations: 235.9 kB / 1.214 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.4124, allocations: 0.8249 MB / 1.214 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005026/0.4129, allocations: 252.8 kB / 1.215 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.4132, allocations: 117.3 kB / 1.215 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.982e-05/0.4133, allocations: 4.234 kB / 1.215 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.4133, allocations: 34.8 kB / 1.215 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=27): time 1.312e-06/0.4133, allocations: 0 / 1.215 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=27): time 0.0007576/0.4141, allocations: 307.4 kB / 1.215 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.4141, allocations: 59.34 kB / 1.215 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.4143, allocations: 211.5 kB / 1.215 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.4144, allocations: 33.64 kB / 1.215 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.4145, allocations: 176.2 kB / 1.215 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.229e-05/0.4146, allocations: 78.84 kB / 1.216 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.4147, allocations: 73.97 kB / 1.216 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.4149, allocations: 326.8 kB / 1.216 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.4151, allocations: 88.44 kB / 1.216 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.4153, allocations: 143.9 kB / 1.216 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004282/0.4158, allocations: 223.6 kB / 1.216 GB, free: 496 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4158, allocations: 0 / 1.216 GB, free: 496 kB / 0.9669 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005327/0.4163, allocations: 273.1 kB / 1.217 GB, free: 216 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.4164, allocations: 8.219 kB / 1.217 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.4164, allocations: 4 kB / 1.217 GB, free: 204 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.4164, allocations: 7.938 kB / 1.217 GB, free: 196 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.4167, allocations: 55.91 kB / 1.217 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.4167, allocations: 0 / 1.217 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.4168, allocations: 31.73 kB / 1.217 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.4168, allocations: 8 kB / 1.217 GB, free: 100 kB / 0.9669 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.000283/0.4171, allocations: 161.8 kB / 1.217 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.4172, allocations: 19.81 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005587/0.4177, allocations: 252 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.4178, allocations: 7.938 kB / 1.217 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4178, allocations: 0 / 1.217 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.4178, allocations: 0 / 1.217 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004264/0.4182, allocations: 365.2 kB / 1.218 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4182, allocations: 0 / 1.218 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.4184, allocations: 35.97 kB / 1.218 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.4184, allocations: 4 kB / 1.218 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.4185, allocations: 4 kB / 1.218 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.4185, allocations: 7.922 kB / 1.218 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.4185, allocations: 0 / 1.218 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000543/0.419, allocations: 339.6 kB / 1.218 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.496e-05/0.4191, allocations: 96.77 kB / 1.218 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.4191, allocations: 4 kB / 1.218 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.4193, allocations: 15.92 kB / 1.218 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.4194, allocations: 27.97 kB / 1.218 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.4194, allocations: 4 kB / 1.218 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001145/0.4195, allocations: 141.5 kB / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4195, allocations: 0 / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002966/0.4198, allocations: 63.69 kB / 1.218 GB, free: 14.48 MB / 0.9825 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.0001819/0.42, allocations: 112.2 kB / 1.218 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005468/0.4206, allocations: 220.2 kB / 1.219 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.4206, allocations: 7.938 kB / 1.219 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.4208, allocations: 115.8 kB / 1.219 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.4212, allocations: 25.56 kB / 1.219 GB, free: 14 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008803/0.422, allocations: 485.9 kB / 1.219 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.4224, allocations: 0.7636 MB / 1.22 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001225/0.4225, allocations: 34.28 kB / 1.22 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.847e-05/0.4226, allocations: 23.44 kB / 1.22 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.4226, allocations: 0 / 1.22 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of Templates: time 0.005902/0.4285, allocations: 1.952 MB / 1.222 GB, free: 10.75 MB / 0.9825 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/jenkins/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