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.008196/0.008196, allocations: 99.95 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.001446/0.001446, allocations: 188.7 kB / 16.67 MB, free: 5.973 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.56/1.56, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.705/2.705, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 55.91 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.269/1.271, allocations: 151.6 MB / 1.167 GB, free: 3.961 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002748/1.273, allocations: 1.437 MB / 1.168 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00146/1.275, allocations: 1.096 MB / 1.169 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/1.275, allocations: 4 kB / 1.169 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001492/1.275, allocations: 39.53 kB / 1.169 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001574/1.275, allocations: 43.53 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/1.276, allocations: 107.9 kB / 1.169 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003097/1.276, allocations: 336.6 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003732/1.276, allocations: 214 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/1.277, allocations: 135.4 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/1.277, allocations: 147.2 kB / 1.17 GB, free: 408 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.245e-05/1.277, allocations: 36 kB / 1.17 GB, free: 372 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.464e-05/1.277, allocations: 40 kB / 1.17 GB, free: 332 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.191e-05/1.277, allocations: 79.75 kB / 1.17 GB, free: 252 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001183/1.277, allocations: 155.1 kB / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004846/1.278, allocations: 483 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.278, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.543e-06/1.278, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.15e-05/1.278, allocations: 4 kB / 1.171 GB, free: 15.61 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.0008683/1.279, allocations: 0.5845 MB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/1.279, allocations: 8.922 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.966e-05/1.279, allocations: 36.7 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005353/1.279, allocations: 333.1 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/1.279, allocations: 25.03 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.344e-05/1.279, allocations: 32.38 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005562/1.28, allocations: 282.6 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/1.28, allocations: 4.125 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/1.28, allocations: 15.94 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/1.28, allocations: 8 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000513/1.28, allocations: 230.5 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/1.282, allocations: 0.8078 MB / 1.173 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005226/1.282, allocations: 225 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/1.282, allocations: 112.8 kB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.257e-05/1.283, allocations: 8.031 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/1.283, allocations: 42.55 kB / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=26): time 1.303e-06/1.283, allocations: 0 / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26): time 0.0008127/1.283, allocations: 294 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/1.283, allocations: 63.34 kB / 1.174 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/1.284, allocations: 211.7 kB / 1.174 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.166e-05/1.284, allocations: 29.7 kB / 1.174 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/1.284, allocations: 184.5 kB / 1.174 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.348e-05/1.284, allocations: 79.33 kB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/1.284, allocations: 65.97 kB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000209/1.284, allocations: 330.8 kB / 1.175 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/1.285, allocations: 80.52 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/1.285, allocations: 144.4 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004323/1.285, allocations: 213.5 kB / 1.175 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.285, allocations: 7.938 kB / 1.175 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005336/1.286, allocations: 263.5 kB / 1.175 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/1.286, allocations: 8 kB / 1.175 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/1.286, allocations: 0 / 1.175 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/1.286, allocations: 4 kB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/1.286, allocations: 64.06 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/1.286, allocations: 4 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/1.286, allocations: 35.7 kB / 1.176 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/1.286, allocations: 8 kB / 1.176 GB, free: 10.57 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.0001624/1.286, allocations: 157.8 kB / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/1.287, allocations: 19.86 kB / 1.176 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005565/1.287, allocations: 247.6 kB / 1.176 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/1.287, allocations: 3.938 kB / 1.176 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/1.287, allocations: 0 / 1.176 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/1.287, allocations: 4 kB / 1.176 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/1.288, allocations: 341.4 kB / 1.176 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.288, allocations: 0 / 1.176 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/1.288, allocations: 43.91 kB / 1.176 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/1.288, allocations: 8 kB / 1.176 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/1.288, allocations: 7.984 kB / 1.176 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/1.288, allocations: 3.938 kB / 1.176 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/1.288, allocations: 4 kB / 1.176 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004905/1.288, allocations: 325.7 kB / 1.177 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.535e-05/1.288, allocations: 100.9 kB / 1.177 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/1.288, allocations: 8 kB / 1.177 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/1.288, allocations: 15.92 kB / 1.177 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/1.289, allocations: 27.91 kB / 1.177 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/1.289, allocations: 11.94 kB / 1.177 GB, free: 9.172 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001326/1.289, allocations: 136.2 kB / 1.177 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.289, allocations: 0 / 1.177 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002987/1.289, allocations: 59.84 kB / 1.177 GB, free: 8.98 MB / 0.9044 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.0001807/1.289, allocations: 117.5 kB / 1.177 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005191/1.29, allocations: 218.3 kB / 1.177 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.29, allocations: 0 / 1.177 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002317/1.29, allocations: 107.8 kB / 1.177 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/1.29, allocations: 40.22 kB / 1.177 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008569/1.291, allocations: 469.5 kB / 1.178 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/1.292, allocations: 0.7636 MB / 1.179 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001328/1.292, allocations: 30.28 kB / 1.179 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.921e-05/1.292, allocations: 27.44 kB / 1.179 GB, free: 7.172 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/1.292, allocations: 4 kB / 1.179 GB, free: 7.168 MB / 0.9044 GB Notification: Performance of Templates: time 0.005258/1.297, allocations: 1.876 MB / 1.181 GB, free: 5.34 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/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