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/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.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/Buildings 10.0.0-master/package.mo): time 2.283/2.283, allocations: 390.5 MB / 398 MB, free: 10.95 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.001056/0.001056, allocations: 179.8 kB / 491.2 MB, free: 1.609 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.566/1.566, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.0009505/0.0009508, allocations: 94.39 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.088e-05/2.09e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.31, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.057/1.367, allocations: 150.4 MB / 1.359 GB, free: 17.66 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/1.368, allocations: 74.28 kB / 1.359 GB, free: 17.66 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008592/1.376, allocations: 3.091 MB / 1.362 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.994e-06/1.376, allocations: 0 / 1.362 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.19e-05/1.376, allocations: 3.844 kB / 1.362 GB, free: 33.2 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0005595/1.377, allocations: 453.5 kB / 1.363 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/1.377, allocations: 7.219 kB / 1.363 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.871e-05/1.377, allocations: 23.22 kB / 1.363 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/1.377, allocations: 200.9 kB / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/1.377, allocations: 7.688 kB / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/1.377, allocations: 7.719 kB / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000255/1.378, allocations: 115.4 kB / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/1.378, allocations: 147.7 kB / 1.363 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/1.378, allocations: 4 kB / 1.363 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/1.378, allocations: 0 / 1.363 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/1.378, allocations: 3.312 kB / 1.363 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008456/1.379, allocations: 0.5552 MB / 1.364 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/1.379, allocations: 110.2 kB / 1.364 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.764e-05/1.379, allocations: 50.73 kB / 1.364 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/1.379, allocations: 4 kB / 1.364 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/1.379, allocations: 39.95 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/1.379, allocations: 0 / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0002846/1.379, allocations: 117.3 kB / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/1.379, allocations: 56.88 kB / 1.364 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/1.38, allocations: 150.8 kB / 1.364 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/1.38, allocations: 25.7 kB / 1.364 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.823e-05/1.38, allocations: 132.1 kB / 1.364 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/1.38, allocations: 45.62 kB / 1.364 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-06/1.38, allocations: 0 / 1.364 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.186e-05/1.38, allocations: 321.3 kB / 1.365 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.48e-05/1.38, allocations: 36.94 kB / 1.365 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.82e-05/1.38, allocations: 32.16 kB / 1.365 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.88e-05/1.38, allocations: 28.44 kB / 1.365 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/1.38, allocations: 0 / 1.365 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001493/1.38, allocations: 122.3 kB / 1.365 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/1.38, allocations: 9.438 kB / 1.365 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/1.38, allocations: 4 kB / 1.365 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/1.38, allocations: 3.953 kB / 1.365 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/1.38, allocations: 30.09 kB / 1.365 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/1.38, allocations: 0 / 1.365 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.097e-05/1.38, allocations: 15.22 kB / 1.365 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/1.38, allocations: 0 / 1.365 GB, free: 31.43 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.679e-05/1.381, allocations: 113.8 kB / 1.365 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/1.381, allocations: 17.03 kB / 1.365 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.922e-05/1.381, allocations: 12.7 kB / 1.365 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/1.381, allocations: 7.797 kB / 1.365 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.381, allocations: 0 / 1.365 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/1.381, allocations: 5.484 kB / 1.365 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/1.381, allocations: 236.6 kB / 1.365 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.381, allocations: 0 / 1.365 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/1.381, allocations: 33.72 kB / 1.365 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/1.381, allocations: 0 / 1.365 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/1.381, allocations: 1.453 kB / 1.365 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/1.381, allocations: 3.844 kB / 1.365 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.381, allocations: 0 / 1.365 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/1.381, allocations: 221.2 kB / 1.366 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.646e-05/1.381, allocations: 84.95 kB / 1.366 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/1.381, allocations: 3.844 kB / 1.366 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/1.381, allocations: 19.44 kB / 1.366 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.842e-05/1.382, allocations: 19.17 kB / 1.366 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/1.382, allocations: 8.781 kB / 1.366 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.053e-05/1.382, allocations: 109.2 kB / 1.366 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.382, allocations: 0 / 1.366 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002366/1.382, allocations: 34.3 kB / 1.366 GB, free: 30.79 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001427/1.382, allocations: 117.8 kB / 1.366 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001853/1.382, allocations: 100.1 kB / 1.366 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/1.382, allocations: 3.938 kB / 1.366 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.746e-05/1.382, allocations: 63.88 kB / 1.366 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/1.383, allocations: 21.34 kB / 1.366 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000403/1.383, allocations: 196.3 kB / 1.366 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/1.383, allocations: 0.7357 MB / 1.367 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.451e-05/1.383, allocations: 19.47 kB / 1.367 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/1.383, allocations: 16.5 kB / 1.367 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/1.383, allocations: 0 / 1.367 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of Templates: time 0.003835/1.387, allocations: 1.277 MB / 1.368 GB, free: 29.79 MB / 0.8386 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","../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