Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.DualDuctColdDuctMin.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_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001543/0.001543, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.338/2.338, allocations: 390.3 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.0003363, allocations: 12 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6441/0.6445, allocations: 142.3 MB / 0.9536 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.001295/0.6458, allocations: 0.9137 MB / 0.9545 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.6469, allocations: 1.052 MB / 0.9555 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.647, allocations: 4.969 kB / 0.9555 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.423e-05/0.6471, allocations: 15.8 kB / 0.9555 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.6472, allocations: 28.42 kB / 0.9555 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.6474, allocations: 77.89 kB / 0.9556 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.6476, allocations: 161.4 kB / 0.9558 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.6478, allocations: 125.7 kB / 0.9559 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.6479, allocations: 72.98 kB / 0.956 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.539e-05/0.648, allocations: 81.08 kB / 0.956 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.6481, allocations: 9.891 kB / 0.956 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.404e-05/0.6481, allocations: 6.969 kB / 0.956 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.764e-05/0.6481, allocations: 26.98 kB / 0.9561 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.6482, allocations: 65.55 kB / 0.9561 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.6484, allocations: 296.2 kB / 0.9564 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.6484, allocations: 5.375 kB / 0.9564 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6484, allocations: 0 / 0.9564 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.6484, allocations: 0 / 0.9564 GB, free: 5.805 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006352/0.649, allocations: 0.5101 MB / 0.9569 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.6491, allocations: 8.219 kB / 0.9569 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.325e-05/0.6491, allocations: 30.55 kB / 0.957 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.6496, allocations: 314.2 kB / 0.9573 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.6497, allocations: 23.69 kB / 0.9573 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.6497, allocations: 26.5 kB / 0.9573 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004207/0.6501, allocations: 233.3 kB / 0.9575 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.6502, allocations: 0 / 0.9575 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.6502, allocations: 11.22 kB / 0.9575 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.6502, allocations: 5.75 kB / 0.9575 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004229/0.6506, allocations: 194 kB / 0.9577 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008366/0.6515, allocations: 0.6612 MB / 0.9584 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/0.6519, allocations: 163.8 kB / 0.9585 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.6519, allocations: 2.312 kB / 0.9585 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.6519, allocations: 31.97 kB / 0.9586 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 2.034e-06/0.6519, allocations: 0 / 0.9586 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0006233/0.6526, allocations: 243.3 kB / 0.9588 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.6526, allocations: 56.47 kB / 0.9589 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.6528, allocations: 211.5 kB / 0.9591 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.6528, allocations: 30.86 kB / 0.9591 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.293e-05/0.6529, allocations: 157.5 kB / 0.9592 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.6529, allocations: 54.73 kB / 0.9593 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-06/0.6529, allocations: 0 / 0.9593 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.731e-05/0.653, allocations: 327.2 kB / 0.9596 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.6532, allocations: 69.48 kB / 0.9597 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.6534, allocations: 125 kB / 0.9598 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.6536, allocations: 66.14 kB / 0.9598 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.6536, allocations: 1.375 kB / 0.9598 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004354/0.654, allocations: 232.7 kB / 0.9601 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.654, allocations: 12 kB / 0.9601 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.6541, allocations: 5.312 kB / 0.9601 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.6541, allocations: 2.75 kB / 0.9601 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.6543, allocations: 42.22 kB / 0.9601 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.6543, allocations: 8.062 kB / 0.9601 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.6544, allocations: 24.2 kB / 0.9602 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.6544, allocations: 14.7 kB / 0.9602 GB, free: 2.809 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,$PRE.actAirSet.gre.greHys.y,actAirSet.gre.greHys.y,reaToInt2.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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.6546, allocations: 145.4 kB / 0.9603 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.6546, allocations: 16.09 kB / 0.9603 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.65e-05/0.6547, allocations: 25.92 kB / 0.9604 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.6547, allocations: 2.281 kB / 0.9604 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6547, allocations: 0 / 0.9604 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.6547, allocations: 1.156 kB / 0.9604 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.655, allocations: 300.3 kB / 0.9606 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.655, allocations: 4 kB / 0.9606 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.6551, allocations: 27.78 kB / 0.9607 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.6551, allocations: 1.219 kB / 0.9607 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.6551, allocations: 1.062 kB / 0.9607 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.6552, allocations: 9.094 kB / 0.9607 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6552, allocations: 0 / 0.9607 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004066/0.6556, allocations: 289.6 kB / 0.961 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.6556, allocations: 89.98 kB / 0.961 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.6557, allocations: 1.781 kB / 0.961 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.6558, allocations: 20.7 kB / 0.9611 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.589e-05/0.6559, allocations: 34.59 kB / 0.9611 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.6559, allocations: 11.95 kB / 0.9611 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.583e-05/0.656, allocations: 131.4 kB / 0.9612 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.656, allocations: 0 / 0.9612 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002991/0.6563, allocations: 45.62 kB / 0.9613 GB, free: 1.867 MB / 0.7169 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.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001142/0.6564, allocations: 115.1 kB / 0.9614 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004368/0.6569, allocations: 177.1 kB / 0.9616 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6569, allocations: 448 / 0.9616 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.6571, allocations: 89.39 kB / 0.9616 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.6573, allocations: 24.7 kB / 0.9617 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006701/0.658, allocations: 462 kB / 0.9621 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.6582, allocations: 0.7522 MB / 0.9628 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001348/0.6584, allocations: 27.91 kB / 0.9629 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.617e-05/0.6584, allocations: 20.28 kB / 0.9629 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6584, allocations: 0 / 0.9629 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of Templates: time 0.004727/0.6632, allocations: 1.665 MB / 0.9645 GB, free: 15.75 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches