Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.54/2.54, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001048/0.001048, allocations: 190.8 kB / 0.4902 GB, free: 2.242 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.544/1.544, allocations: 223.2 MB / 0.7992 GB, free: 14.69 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.0008523/0.0008524, allocations: 106.9 kB / 0.9396 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003631, allocations: 8.031 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2952, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1917/0.487, allocations: 151.5 MB / 1.377 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.4873, allocations: 71.94 kB / 1.377 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01053/0.4978, allocations: 3.87 MB / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4978, allocations: 0 / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.121e-05/0.4979, allocations: 8 kB / 1.381 GB, free: 14 MB / 0.8855 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.000885/0.4988, allocations: 0.5145 MB / 1.382 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.4988, allocations: 12.56 kB / 1.382 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.4989, allocations: 31.62 kB / 1.382 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/0.4994, allocations: 271.9 kB / 1.382 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.721e-05/0.4995, allocations: 20.56 kB / 1.382 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/0.4995, allocations: 24 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005321/0.5001, allocations: 240.9 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.5001, allocations: 3.984 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.5001, allocations: 8 kB / 1.382 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.5001, allocations: 8 kB / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004943/0.5006, allocations: 210.1 kB / 1.382 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.5019, allocations: 0.7286 MB / 1.383 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004887/0.5024, allocations: 174.6 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.5025, allocations: 0 / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.5025, allocations: 42.5 kB / 1.383 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=17): time 1.233e-06/0.5025, allocations: 4 kB / 1.383 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of matching and sorting (n=17): time 0.0007395/0.5032, allocations: 259.8 kB / 1.384 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.5033, allocations: 59.31 kB / 1.384 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.5035, allocations: 212.1 kB / 1.384 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.5036, allocations: 33.7 kB / 1.384 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.5037, allocations: 148.5 kB / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.5038, allocations: 43.3 kB / 1.384 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/0.5038, allocations: 8 kB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.5039, allocations: 338.8 kB / 1.384 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.5041, allocations: 67.95 kB / 1.384 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.5044, allocations: 93.61 kB / 1.385 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.5045, allocations: 64.84 kB / 1.385 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5046, allocations: 0 / 1.385 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004652/0.505, allocations: 202.8 kB / 1.385 GB, free: 10 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.5051, allocations: 4 kB / 1.385 GB, free: 10 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5051, allocations: 0 / 1.385 GB, free: 10 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.5051, allocations: 0 / 1.385 GB, free: 10 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.5053, allocations: 31.91 kB / 1.385 GB, free: 9.969 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.5053, allocations: 4 kB / 1.385 GB, free: 9.965 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.5054, allocations: 35.83 kB / 1.385 GB, free: 9.93 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.5055, allocations: 4 kB / 1.385 GB, free: 9.926 MB / 0.8855 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.0001503/0.5056, allocations: 141.8 kB / 1.385 GB, free: 9.777 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.5057, allocations: 19.72 kB / 1.385 GB, free: 9.758 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.954e-05/0.5057, allocations: 22.19 kB / 1.385 GB, free: 9.734 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.5058, allocations: 8 kB / 1.385 GB, free: 9.727 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.5058, allocations: 0 / 1.385 GB, free: 9.727 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.5058, allocations: 3.984 kB / 1.385 GB, free: 9.723 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003676/0.5061, allocations: 309.4 kB / 1.385 GB, free: 9.371 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5062, allocations: 0 / 1.385 GB, free: 9.371 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.5063, allocations: 35.91 kB / 1.385 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.5063, allocations: 0 / 1.385 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.5064, allocations: 4 kB / 1.385 GB, free: 9.332 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5064, allocations: 0 / 1.385 GB, free: 9.332 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.5064, allocations: 4 kB / 1.385 GB, free: 9.328 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004947/0.5069, allocations: 300.1 kB / 1.386 GB, free: 9.02 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.807e-05/0.507, allocations: 100.8 kB / 1.386 GB, free: 8.902 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.507, allocations: 8 kB / 1.386 GB, free: 8.895 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.5072, allocations: 19.98 kB / 1.386 GB, free: 8.875 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.5073, allocations: 35.94 kB / 1.386 GB, free: 8.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.5073, allocations: 7.984 kB / 1.386 GB, free: 8.832 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001672/0.5075, allocations: 168.4 kB / 1.386 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5075, allocations: 4 kB / 1.386 GB, free: 8.664 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000274/0.5078, allocations: 43.84 kB / 1.386 GB, free: 8.621 MB / 0.8855 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.0001774/0.508, allocations: 116 kB / 1.386 GB, free: 8.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004702/0.5085, allocations: 172.5 kB / 1.386 GB, free: 8.332 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.5085, allocations: 0 / 1.386 GB, free: 8.332 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002396/0.5087, allocations: 100.7 kB / 1.386 GB, free: 8.234 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.5091, allocations: 30.08 kB / 1.386 GB, free: 8.207 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008073/0.5099, allocations: 451.1 kB / 1.387 GB, free: 7.742 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.5103, allocations: 0.7599 MB / 1.388 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001199/0.5104, allocations: 25.53 kB / 1.388 GB, free: 6.93 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.272e-05/0.5105, allocations: 19.44 kB / 1.388 GB, free: 6.91 MB / 0.8855 GB Notification: Performance of SimCode: time 6.31e-07/0.5105, allocations: 0 / 1.388 GB, free: 6.91 MB / 0.8855 GB Notification: Performance of Templates: time 0.005401/0.5159, allocations: 2.002 MB / 1.39 GB, free: 4.965 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches