Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006579/0.006579, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001681/0.001681, allocations: 198.4 kB / 16.68 MB, free: 5.926 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.496/1.496, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.997/2.997, allocations: 461.8 MB / 0.7347 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001347, allocations: 71.88 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4248, allocations: 157.4 MB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.003201/0.428, allocations: 1.129 MB / 1.209 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.4296, allocations: 1.014 MB / 1.21 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.4297, allocations: 4 kB / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.688e-05/0.4298, allocations: 27.66 kB / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.43, allocations: 31.73 kB / 1.21 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.4303, allocations: 83.84 kB / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002591/0.4305, allocations: 224.2 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002822/0.4308, allocations: 128.6 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.431, allocations: 107.5 kB / 1.21 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.4312, allocations: 95.55 kB / 1.211 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.4312, allocations: 24 kB / 1.211 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.398e-05/0.4313, allocations: 24 kB / 1.211 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.831e-05/0.4313, allocations: 47.84 kB / 1.211 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.4314, allocations: 115.3 kB / 1.211 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.4317, allocations: 302.8 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.4317, allocations: 0 / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.995e-06/0.4318, allocations: 4 kB / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.4318, allocations: 0 / 1.211 GB, free: 6.258 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008591/0.4326, allocations: 499.1 kB / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.4327, allocations: 12.62 kB / 1.212 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.505e-05/0.4327, allocations: 20.66 kB / 1.212 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004987/0.4333, allocations: 280.2 kB / 1.212 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.4333, allocations: 20.81 kB / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.4333, allocations: 16.38 kB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004419/0.4338, allocations: 207.8 kB / 1.212 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.4338, allocations: 192 / 1.212 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.4338, allocations: 7.938 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.4339, allocations: 8 kB / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003991/0.4343, allocations: 157.6 kB / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009044/0.4352, allocations: 0.5839 MB / 1.213 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.4355, allocations: 162.6 kB / 1.213 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.4357, allocations: 68.73 kB / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.4358, allocations: 8.062 kB / 1.213 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.4358, allocations: 42.55 kB / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=17): time 1.402e-06/0.4358, allocations: 0 / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17): time 0.0006231/0.4364, allocations: 214.7 kB / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.4365, allocations: 55.41 kB / 1.213 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.4366, allocations: 187.4 kB / 1.213 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.4367, allocations: 33.7 kB / 1.214 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.848e-05/0.4368, allocations: 140.1 kB / 1.214 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.4368, allocations: 47.39 kB / 1.214 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.542e-05/0.4369, allocations: 53.61 kB / 1.214 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.437, allocations: 326.8 kB / 1.214 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.4372, allocations: 51.97 kB / 1.214 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.4374, allocations: 97.11 kB / 1.214 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.4377, allocations: 150.9 kB / 1.214 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4378, allocations: 0 / 1.214 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004018/0.4382, allocations: 193.2 kB / 1.215 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.4382, allocations: 13.72 kB / 1.215 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4382, allocations: 3.938 kB / 1.215 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.4382, allocations: 4 kB / 1.215 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.4384, allocations: 35.97 kB / 1.215 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.4385, allocations: 3.984 kB / 1.215 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.4386, allocations: 23.73 kB / 1.215 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.4386, allocations: 12 kB / 1.215 GB, free: 2.328 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.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 (22): * Single equations (assignments): 22 * 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.0001949/0.4388, allocations: 142.2 kB / 1.215 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.4389, allocations: 15.84 kB / 1.215 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.4389, allocations: 21.86 kB / 1.215 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4389, allocations: 4 kB / 1.215 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4389, allocations: 0 / 1.215 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.4389, allocations: 0 / 1.215 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.4392, allocations: 281.4 kB / 1.215 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4392, allocations: 0 / 1.215 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.4394, allocations: 23.92 kB / 1.215 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.4394, allocations: 11.92 kB / 1.215 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.4394, allocations: 4 kB / 1.215 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4394, allocations: 0 / 1.215 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4394, allocations: 0 / 1.215 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.4398, allocations: 259.1 kB / 1.215 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.4399, allocations: 96.84 kB / 1.215 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.4399, allocations: 8 kB / 1.215 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.44, allocations: 12 kB / 1.215 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.365e-05/0.4401, allocations: 19.97 kB / 1.215 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.4402, allocations: 4 kB / 1.215 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.763e-05/0.4402, allocations: 119.2 kB / 1.216 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.4403, allocations: 0 / 1.216 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002689/0.4405, allocations: 43.84 kB / 1.216 GB, free: 1.195 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001396/0.4407, allocations: 115.2 kB / 1.216 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004443/0.4411, allocations: 141.6 kB / 1.216 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4411, allocations: 4 kB / 1.216 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.4413, allocations: 79.8 kB / 1.216 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.4417, allocations: 32.23 kB / 1.216 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006704/0.4423, allocations: 342.7 kB / 1.216 GB, free: 472 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.4427, allocations: 0.7397 MB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001042/0.4428, allocations: 25.53 kB / 1.217 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.305e-05/0.4429, allocations: 19.44 kB / 1.217 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.4429, allocations: 0 / 1.217 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of Templates: time 0.004599/0.4475, allocations: 1.519 MB / 1.219 GB, free: 14.18 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches