Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008334/0.0008335, allocations: 90.44 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.006946/0.006946, allocations: 171.9 kB / 16.26 MB, free: 6.676 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.53/1.53, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.834/2.834, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004035, allocations: 17.06 kB / 0.9028 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.4318, allocations: 159.6 MB / 1.059 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002205/0.4341, allocations: 0.7321 MB / 1.059 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002359/0.4365, allocations: 0.9636 MB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.4367, allocations: 0 / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.85e-05/0.4368, allocations: 11.86 kB / 1.06 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.437, allocations: 19.84 kB / 1.06 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.4373, allocations: 51.97 kB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003027/0.4376, allocations: 156 kB / 1.061 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003068/0.4379, allocations: 88.23 kB / 1.061 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.4382, allocations: 51.72 kB / 1.061 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.4384, allocations: 59.62 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.4385, allocations: 8 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.794e-05/0.4385, allocations: 8 kB / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.275e-05/0.4386, allocations: 15.92 kB / 1.061 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.4387, allocations: 81.31 kB / 1.061 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.4391, allocations: 195.5 kB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4391, allocations: 3.938 kB / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4391, allocations: 0 / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.4391, allocations: 0 / 1.061 GB, free: 2.973 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009926/0.4401, allocations: 431 kB / 1.062 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.4402, allocations: 12.03 kB / 1.062 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.94e-05/0.4403, allocations: 20.66 kB / 1.062 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007362/0.441, allocations: 265.5 kB / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/0.4411, allocations: 12.38 kB / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/0.4411, allocations: 12.38 kB / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006303/0.4418, allocations: 159.1 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.4418, allocations: 192 / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.4418, allocations: 11.94 kB / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.4419, allocations: 4 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006649/0.4425, allocations: 139.9 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.4437, allocations: 492 kB / 1.063 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005323/0.4443, allocations: 126.7 kB / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/0.4446, allocations: 56.81 kB / 1.063 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.4446, allocations: 7.938 kB / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.4447, allocations: 30.56 kB / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.893e-06/0.4447, allocations: 0 / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0009714/0.4457, allocations: 197.4 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.4457, allocations: 55.41 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.446, allocations: 152.4 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.446, allocations: 33.69 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.4462, allocations: 120.2 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.372e-05/0.4463, allocations: 31.5 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.771e-05/0.4463, allocations: 29.7 kB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.4465, allocations: 326.8 kB / 1.064 GB, free: 84 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.4469, allocations: 51.97 kB / 1.064 GB, free: 32 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/0.4472, allocations: 85.02 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005468/0.4478, allocations: 119.3 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4478, allocations: 0 / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000648/0.4485, allocations: 169.3 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.4485, allocations: 11.94 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.4485, allocations: 96 / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.4486, allocations: 4 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/0.4489, allocations: 35.97 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.4489, allocations: 3.938 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.4491, allocations: 23.83 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.4491, allocations: 4 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.y,actAirSet.or3.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 (15): * Single equations (assignments): 15 * 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.0001824/0.4493, allocations: 133.8 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.719e-05/0.4493, allocations: 7.906 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.498e-05/0.4494, allocations: 16.72 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.4494, allocations: 0 / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.4495, allocations: 3.984 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.4495, allocations: 3.984 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004516/0.4499, allocations: 237.5 kB / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.45, allocations: 0 / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.4502, allocations: 27.92 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4502, allocations: 4 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.4502, allocations: 4 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4502, allocations: 0 / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4502, allocations: 0 / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006533/0.4509, allocations: 251.2 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-05/0.451, allocations: 88.95 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.451, allocations: 3.984 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.4512, allocations: 12 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.4514, allocations: 19.97 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.4514, allocations: 0 / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001397/0.4515, allocations: 122.6 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4515, allocations: 0 / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004679/0.452, allocations: 23.91 kB / 1.065 GB, free: 14.52 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: 6 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0001779/0.4522, allocations: 107.2 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007142/0.453, allocations: 128.5 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.453, allocations: 0 / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002931/0.4533, allocations: 71.83 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005182/0.4538, allocations: 20.56 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009661/0.4548, allocations: 332 kB / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.4553, allocations: 0.7126 MB / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001749/0.4555, allocations: 17.08 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.54e-05/0.4556, allocations: 15.44 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of SimCode: time 6.11e-07/0.4556, allocations: 7.938 kB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of Templates: time 0.006745/0.4623, allocations: 1.105 MB / 1.068 GB, free: 12 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches