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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.383/2.383, allocations: 390.3 MB / 405.3 MB, free: 13.54 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 180.7 kB / 498.1 MB, free: 5.77 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.624/1.624, allocations: 223.2 MB / 0.7948 GB, free: 17.98 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009118/0.0009118, allocations: 110.5 kB / 0.9346 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003325, allocations: 13.06 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2823, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1891/0.4714, allocations: 150.7 MB / 1.37 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.4717, allocations: 75.89 kB / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009919/0.4816, allocations: 3.867 MB / 1.374 GB, free: 7.422 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.933e-06/0.4817, allocations: 3.938 kB / 1.374 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.613e-05/0.4817, allocations: 4 kB / 1.374 GB, free: 7.414 MB / 0.8698 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.000775/0.4825, allocations: 0.5068 MB / 1.374 GB, free: 6.859 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.4825, allocations: 12.03 kB / 1.374 GB, free: 6.848 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.401e-05/0.4826, allocations: 31.61 kB / 1.375 GB, free: 6.816 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.483, allocations: 271.9 kB / 1.375 GB, free: 6.508 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.4831, allocations: 24.56 kB / 1.375 GB, free: 6.484 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.4831, allocations: 24 kB / 1.375 GB, free: 6.461 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004685/0.4836, allocations: 236.9 kB / 1.375 GB, free: 6.223 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.4836, allocations: 4 kB / 1.375 GB, free: 6.219 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.4836, allocations: 8 kB / 1.375 GB, free: 6.211 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.4837, allocations: 8 kB / 1.375 GB, free: 6.203 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000459/0.4841, allocations: 206.1 kB / 1.375 GB, free: 6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.4853, allocations: 0.7326 MB / 1.376 GB, free: 5.219 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004503/0.4858, allocations: 174.5 kB / 1.376 GB, free: 5.039 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.4858, allocations: 192 / 1.376 GB, free: 5.039 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.4858, allocations: 38.55 kB / 1.376 GB, free: 4.992 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=17): time 9.52e-07/0.4858, allocations: 4 kB / 1.376 GB, free: 4.988 MB / 0.8698 GB Notification: Performance of matching and sorting (n=17): time 0.0006908/0.4865, allocations: 271 kB / 1.376 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.4866, allocations: 55.41 kB / 1.376 GB, free: 4.652 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.4868, allocations: 216 kB / 1.377 GB, free: 4.434 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.4869, allocations: 37.7 kB / 1.377 GB, free: 4.391 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.933e-05/0.487, allocations: 152.3 kB / 1.377 GB, free: 4.238 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.487, allocations: 43.36 kB / 1.377 GB, free: 4.195 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.348e-05/0.487, allocations: 4 kB / 1.377 GB, free: 4.191 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4872, allocations: 334.8 kB / 1.377 GB, free: 3.855 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.4874, allocations: 67.95 kB / 1.377 GB, free: 3.789 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.4876, allocations: 90.77 kB / 1.377 GB, free: 3.695 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.4878, allocations: 60.91 kB / 1.377 GB, free: 3.637 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4878, allocations: 4.031 kB / 1.377 GB, free: 3.633 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004558/0.4882, allocations: 206.9 kB / 1.378 GB, free: 3.426 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.4883, allocations: 4 kB / 1.378 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.4883, allocations: 4 kB / 1.378 GB, free: 3.418 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.4883, allocations: 3.984 kB / 1.378 GB, free: 3.414 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.4885, allocations: 23.98 kB / 1.378 GB, free: 3.391 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.4885, allocations: 4 kB / 1.378 GB, free: 3.387 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.4887, allocations: 27.88 kB / 1.378 GB, free: 3.359 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.4887, allocations: 4 kB / 1.378 GB, free: 3.355 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,$PRE.actAirSet.gre.greHys.y,actAirSet.gre.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001452/0.4889, allocations: 152.5 kB / 1.378 GB, free: 3.199 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/0.4889, allocations: 15.81 kB / 1.378 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.656e-05/0.489, allocations: 26.17 kB / 1.378 GB, free: 3.152 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.489, allocations: 4 kB / 1.378 GB, free: 3.148 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.489, allocations: 0 / 1.378 GB, free: 3.148 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.489, allocations: 3.938 kB / 1.378 GB, free: 3.145 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000348/0.4894, allocations: 317.3 kB / 1.378 GB, free: 2.785 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4894, allocations: 0 / 1.378 GB, free: 2.785 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.4895, allocations: 31.92 kB / 1.378 GB, free: 2.754 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.4896, allocations: 4 kB / 1.378 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.4896, allocations: 7.984 kB / 1.378 GB, free: 2.742 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4896, allocations: 0 / 1.378 GB, free: 2.742 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.4896, allocations: 0 / 1.378 GB, free: 2.742 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004844/0.4901, allocations: 296.2 kB / 1.379 GB, free: 2.438 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.676e-05/0.4902, allocations: 100.8 kB / 1.379 GB, free: 2.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.4902, allocations: 8 kB / 1.379 GB, free: 2.312 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.4904, allocations: 23.97 kB / 1.379 GB, free: 2.289 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.4905, allocations: 31.95 kB / 1.379 GB, free: 2.258 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.4905, allocations: 4 kB / 1.379 GB, free: 2.254 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001523/0.4907, allocations: 168.5 kB / 1.379 GB, free: 2.09 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4907, allocations: 0 / 1.379 GB, free: 2.09 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002728/0.491, allocations: 40 kB / 1.379 GB, free: 2.051 MB / 0.8698 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.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.gre.greHys.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.0001696/0.4911, allocations: 123 kB / 1.379 GB, free: 1.922 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004604/0.4916, allocations: 173 kB / 1.379 GB, free: 1.754 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4916, allocations: 3.938 kB / 1.379 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.4918, allocations: 95.89 kB / 1.379 GB, free: 1.656 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.4921, allocations: 28.38 kB / 1.379 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007731/0.4929, allocations: 456.7 kB / 1.38 GB, free: 1.16 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.4932, allocations: 0.7522 MB / 1.38 GB, free: 392 kB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001185/0.4933, allocations: 25.52 kB / 1.381 GB, free: 364 kB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.308e-05/0.4934, allocations: 23.42 kB / 1.381 GB, free: 340 kB / 0.8698 GB Notification: Performance of SimCode: time 2.4e-07/0.4934, allocations: 4 kB / 1.381 GB, free: 336 kB / 0.8698 GB Notification: Performance of Templates: time 0.005061/0.4985, allocations: 1.995 MB / 1.382 GB, free: 14.39 MB / 0.8855 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