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.0008514/0.0008514, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007818/0.007818, allocations: 173.1 kB / 16.26 MB, free: 6.613 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.524/1.524, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.935/2.935, allocations: 462.7 MB / 0.7364 GB, free: 340 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.0003969, allocations: 9.656 kB / 0.9028 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4239, allocations: 159.6 MB / 1.059 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002038/0.426, allocations: 1.102 MB / 1.06 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001878/0.4279, allocations: 1.081 MB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000267/0.4282, allocations: 4 kB / 1.061 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.557e-05/0.4283, allocations: 19.78 kB / 1.061 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.4286, allocations: 27.78 kB / 1.061 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.429, allocations: 99.88 kB / 1.061 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004266/0.4294, allocations: 316.6 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004301/0.4298, allocations: 202 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.4301, allocations: 87.52 kB / 1.062 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.4303, allocations: 107.3 kB / 1.062 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.131e-05/0.4303, allocations: 8 kB / 1.062 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.99e-05/0.4304, allocations: 8 kB / 1.062 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.34e-05/0.4304, allocations: 43.78 kB / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.4306, allocations: 140.9 kB / 1.062 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004465/0.431, allocations: 430.6 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.431, allocations: 0 / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.526e-06/0.4311, allocations: 0 / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.4311, allocations: 3.938 kB / 1.062 GB, free: 1.785 MB / 0.8106 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.0009348/0.432, allocations: 0.5306 MB / 1.063 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.4321, allocations: 12.03 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.652e-05/0.4322, allocations: 32.56 kB / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006526/0.4328, allocations: 341.3 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.4329, allocations: 21.38 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.933e-05/0.4329, allocations: 36.38 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006257/0.4336, allocations: 303.1 kB / 1.064 GB, free: 444 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.4336, allocations: 192 / 1.064 GB, free: 444 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/0.4336, allocations: 15.94 kB / 1.064 GB, free: 428 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.4337, allocations: 8 kB / 1.064 GB, free: 420 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006669/0.4343, allocations: 255.8 kB / 1.064 GB, free: 160 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.4356, allocations: 0.829 MB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005114/0.4362, allocations: 251.4 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.4364, allocations: 122 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.4365, allocations: 4.234 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.4365, allocations: 34.8 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 3.717e-06/0.4365, allocations: 0 / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.0008107/0.4373, allocations: 335.3 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.4374, allocations: 59.34 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.4376, allocations: 207.7 kB / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.4377, allocations: 29.7 kB / 1.066 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.4378, allocations: 184.1 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.672e-05/0.4379, allocations: 74.92 kB / 1.066 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.4379, allocations: 41.69 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.4381, allocations: 334.8 kB / 1.066 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.4383, allocations: 84.5 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.4386, allocations: 151.9 kB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004743/0.4391, allocations: 234.7 kB / 1.067 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.4391, allocations: 0 / 1.067 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006039/0.4397, allocations: 294 kB / 1.067 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.4398, allocations: 5.875 kB / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.4398, allocations: 7.938 kB / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.4398, allocations: 7.938 kB / 1.067 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.4401, allocations: 51.91 kB / 1.067 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.4401, allocations: 11.97 kB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.4403, allocations: 39.91 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.4403, allocations: 11.98 kB / 1.067 GB, free: 12.62 MB / 0.8262 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.0002542/0.4406, allocations: 153.8 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.4406, allocations: 15.81 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006507/0.4413, allocations: 264.1 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.4413, allocations: 7.938 kB / 1.067 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.4413, allocations: 0 / 1.067 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.4414, allocations: 3.938 kB / 1.067 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004922/0.4419, allocations: 357.2 kB / 1.068 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4419, allocations: 4 kB / 1.068 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.4421, allocations: 43.97 kB / 1.068 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.4421, allocations: 7.938 kB / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.4421, allocations: 4 kB / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.4421, allocations: 3.938 kB / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.4421, allocations: 0 / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005973/0.4427, allocations: 343.2 kB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.081e-05/0.4428, allocations: 100.8 kB / 1.068 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.4429, allocations: 4 kB / 1.068 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.443, allocations: 23.92 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.4431, allocations: 23.97 kB / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.4431, allocations: 8 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001374/0.4433, allocations: 137.5 kB / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4433, allocations: 0 / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003172/0.4436, allocations: 63.69 kB / 1.069 GB, free: 10.98 MB / 0.8262 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.0001738/0.4438, allocations: 113.2 kB / 1.069 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005362/0.4443, allocations: 236.4 kB / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4443, allocations: 448 / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.4446, allocations: 123.9 kB / 1.069 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.4449, allocations: 20 kB / 1.069 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009994/0.4459, allocations: 0.6064 MB / 1.07 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.4463, allocations: 0.7636 MB / 1.07 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001474/0.4464, allocations: 34.28 kB / 1.07 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.368e-05/0.4465, allocations: 23.44 kB / 1.07 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.4465, allocations: 0 / 1.07 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of Templates: time 0.005439/0.452, allocations: 1.704 MB / 1.072 GB, free: 7.359 MB / 0.8262 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