Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.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_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.236/2.236, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001093/0.001093, allocations: 187.3 kB / 498.1 MB, free: 5.668 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.535/1.535, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0009714/0.0009713, allocations: 97.73 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005162/0.0005162, allocations: 14.27 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4289/0.4295, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2662/0.6957, allocations: 150.3 MB / 1.37 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003664/0.6961, allocations: 71.95 kB / 1.37 GB, free: 11.63 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01174/0.7079, allocations: 3.112 MB / 1.373 GB, free: 8.508 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.204e-06/0.708, allocations: 3.938 kB / 1.373 GB, free: 8.504 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.708, allocations: 4 kB / 1.373 GB, free: 8.5 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.000859/0.7088, allocations: 467 kB / 1.373 GB, free: 7.996 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.7089, allocations: 12.03 kB / 1.373 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.117e-05/0.709, allocations: 27.66 kB / 1.373 GB, free: 7.957 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.7093, allocations: 194.8 kB / 1.373 GB, free: 7.727 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.7093, allocations: 16.38 kB / 1.373 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.691e-05/0.7094, allocations: 20 kB / 1.374 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006335/0.71, allocations: 203.2 kB / 1.374 GB, free: 7.488 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.71, allocations: 0 / 1.374 GB, free: 7.488 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.7101, allocations: 12 kB / 1.374 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.7101, allocations: 4 kB / 1.374 GB, free: 7.473 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006883/0.7108, allocations: 173.7 kB / 1.374 GB, free: 7.297 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.7121, allocations: 0.6075 MB / 1.374 GB, free: 6.637 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005204/0.7127, allocations: 150.7 kB / 1.375 GB, free: 6.48 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.7127, allocations: 7.938 kB / 1.375 GB, free: 6.473 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.7128, allocations: 42.5 kB / 1.375 GB, free: 6.422 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.954e-06/0.7128, allocations: 0 / 1.375 GB, free: 6.422 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0009964/0.7138, allocations: 236.2 kB / 1.375 GB, free: 6.188 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.7138, allocations: 51.41 kB / 1.375 GB, free: 6.125 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.7141, allocations: 190 kB / 1.375 GB, free: 5.934 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.7142, allocations: 25.7 kB / 1.375 GB, free: 5.902 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.7143, allocations: 124.3 kB / 1.375 GB, free: 5.777 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.044e-05/0.7144, allocations: 51.45 kB / 1.375 GB, free: 5.727 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/0.7144, allocations: 0 / 1.375 GB, free: 5.727 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.7146, allocations: 326.8 kB / 1.376 GB, free: 5.398 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.7148, allocations: 63.95 kB / 1.376 GB, free: 5.336 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.7151, allocations: 59.95 kB / 1.376 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.7154, allocations: 59.92 kB / 1.376 GB, free: 5.219 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7154, allocations: 3.938 kB / 1.376 GB, free: 5.215 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006234/0.716, allocations: 171.7 kB / 1.376 GB, free: 5.043 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.7161, allocations: 12.72 kB / 1.376 GB, free: 5.031 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.7161, allocations: 4 kB / 1.376 GB, free: 5.027 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.7161, allocations: 4 kB / 1.376 GB, free: 5.023 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.7164, allocations: 23.98 kB / 1.376 GB, free: 5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.7164, allocations: 4 kB / 1.376 GB, free: 4.996 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.7166, allocations: 15.89 kB / 1.376 GB, free: 4.98 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.7166, allocations: 4 kB / 1.376 GB, free: 4.977 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: 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 () * Number of clocked 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 0.0001832/0.7168, allocations: 137.7 kB / 1.376 GB, free: 4.832 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.049e-05/0.7169, allocations: 23.8 kB / 1.376 GB, free: 4.809 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.72e-05/0.717, allocations: 25.47 kB / 1.376 GB, free: 4.785 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.717, allocations: 0 / 1.376 GB, free: 4.785 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.717, allocations: 4 kB / 1.376 GB, free: 4.781 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.717, allocations: 3.938 kB / 1.376 GB, free: 4.777 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004677/0.7175, allocations: 273.5 kB / 1.376 GB, free: 4.461 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.7175, allocations: 3.938 kB / 1.376 GB, free: 4.457 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.7178, allocations: 31.97 kB / 1.377 GB, free: 4.426 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.7178, allocations: 0 / 1.377 GB, free: 4.426 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.7178, allocations: 8 kB / 1.377 GB, free: 4.418 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.7178, allocations: 7.891 kB / 1.377 GB, free: 4.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.7178, allocations: 0 / 1.377 GB, free: 4.41 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007042/0.7186, allocations: 275.2 kB / 1.377 GB, free: 4.125 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.982e-05/0.7187, allocations: 92.92 kB / 1.377 GB, free: 4.016 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/0.7187, allocations: 4 kB / 1.377 GB, free: 4.012 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.719, allocations: 15.98 kB / 1.377 GB, free: 3.996 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.7191, allocations: 27.92 kB / 1.377 GB, free: 3.969 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.7191, allocations: 8 kB / 1.377 GB, free: 3.961 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001692/0.7193, allocations: 136.1 kB / 1.377 GB, free: 3.828 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7193, allocations: 0 / 1.377 GB, free: 3.828 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004632/0.7198, allocations: 39.91 kB / 1.377 GB, free: 3.789 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: 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 () * Number of clocked 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.0002074/0.72, allocations: 123.6 kB / 1.377 GB, free: 3.656 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00062/0.7206, allocations: 151.3 kB / 1.377 GB, free: 3.512 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.7207, allocations: 0 / 1.377 GB, free: 3.512 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003163/0.721, allocations: 91.89 kB / 1.377 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.7214, allocations: 12.19 kB / 1.377 GB, free: 3.41 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009321/0.7223, allocations: 389 kB / 1.378 GB, free: 3.012 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.7228, allocations: 0.7402 MB / 1.379 GB, free: 2.246 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001374/0.7229, allocations: 13.42 kB / 1.379 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.478e-05/0.723, allocations: 19.44 kB / 1.379 GB, free: 2.215 MB / 0.8698 GB Notification: Performance of SimCode: time 3.01e-07/0.723, allocations: 0 / 1.379 GB, free: 2.215 MB / 0.8698 GB Notification: Performance of Templates: time 0.006263/0.7293, allocations: 1.47 MB / 1.38 GB, free: 0.793 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches