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.281/2.281, allocations: 387.1 MB / 399.7 MB, free: 9.426 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.001014/0.001014, allocations: 176.9 kB / 492.3 MB, free: 0.6016 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.488/1.488, allocations: 221.3 MB / 0.7871 GB, free: 12.97 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.0008505/0.0008505, allocations: 93.08 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.907e-05/2.909e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2471, allocations: 142.3 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9802/1.227, allocations: 150.2 MB / 1.359 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/1.228, allocations: 75.5 kB / 1.359 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008211/1.236, allocations: 3.112 MB / 1.362 GB, free: 34.62 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.463e-06/1.236, allocations: 0 / 1.362 GB, free: 34.62 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.163e-05/1.236, allocations: 3.812 kB / 1.362 GB, free: 34.62 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.000513/1.236, allocations: 440.6 kB / 1.363 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/1.236, allocations: 11.41 kB / 1.363 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.199e-05/1.237, allocations: 27.41 kB / 1.363 GB, free: 34.22 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/1.237, allocations: 192.4 kB / 1.363 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/1.237, allocations: 18.69 kB / 1.363 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/1.237, allocations: 18.81 kB / 1.363 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/1.237, allocations: 171.4 kB / 1.363 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/1.237, allocations: 0 / 1.363 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/1.237, allocations: 10.56 kB / 1.363 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/1.237, allocations: 3.906 kB / 1.363 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/1.237, allocations: 128 kB / 1.363 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008978/1.238, allocations: 0.6034 MB / 1.364 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/1.239, allocations: 128.9 kB / 1.364 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.605e-05/1.239, allocations: 51.23 kB / 1.364 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/1.239, allocations: 0 / 1.364 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/1.239, allocations: 42.11 kB / 1.364 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/1.239, allocations: 4 kB / 1.364 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0002985/1.239, allocations: 131.2 kB / 1.364 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/1.239, allocations: 55.31 kB / 1.364 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/1.239, allocations: 173.3 kB / 1.364 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/1.239, allocations: 29.2 kB / 1.364 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/1.239, allocations: 128.5 kB / 1.365 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.77e-05/1.239, allocations: 40.8 kB / 1.365 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/1.239, allocations: 3.312 kB / 1.365 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001873/1.24, allocations: 331 kB / 1.365 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.903e-05/1.24, allocations: 37.41 kB / 1.365 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.878e-05/1.24, allocations: 38.38 kB / 1.365 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.208e-05/1.24, allocations: 33.03 kB / 1.365 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/1.24, allocations: 0 / 1.365 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001984/1.24, allocations: 130.1 kB / 1.365 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/1.24, allocations: 3.969 kB / 1.365 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/1.24, allocations: 3.953 kB / 1.365 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/1.24, allocations: 3.906 kB / 1.365 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/1.24, allocations: 33.41 kB / 1.365 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/1.24, allocations: 0 / 1.365 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/1.241, allocations: 22.42 kB / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/1.241, allocations: 1.547 kB / 1.365 GB, free: 32.82 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 0.0001274/1.241, allocations: 111.8 kB / 1.365 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/1.241, allocations: 15.5 kB / 1.365 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.647e-05/1.241, allocations: 29.77 kB / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/1.241, allocations: 7.859 kB / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/1.241, allocations: 0 / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/1.241, allocations: 5.531 kB / 1.365 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003389/1.241, allocations: 282.3 kB / 1.366 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.241, allocations: 0 / 1.366 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/1.241, allocations: 25.95 kB / 1.366 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.241, allocations: 0 / 1.366 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/1.241, allocations: 4.438 kB / 1.366 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/1.241, allocations: 7.906 kB / 1.366 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.241, allocations: 7.891 kB / 1.366 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/1.242, allocations: 228.1 kB / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-05/1.242, allocations: 98.25 kB / 1.366 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/1.242, allocations: 0 / 1.366 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/1.242, allocations: 20.81 kB / 1.366 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/1.242, allocations: 31.02 kB / 1.366 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/1.242, allocations: 3.812 kB / 1.366 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000115/1.242, allocations: 141.9 kB / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.242, allocations: 0 / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004611/1.243, allocations: 34.72 kB / 1.366 GB, free: 32.14 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.0002218/1.243, allocations: 115.3 kB / 1.366 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002508/1.243, allocations: 112 kB / 1.366 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.243, allocations: 0 / 1.366 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.458e-05/1.243, allocations: 62.38 kB / 1.366 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/1.244, allocations: 17.91 kB / 1.366 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005294/1.244, allocations: 210.9 kB / 1.367 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/1.245, allocations: 0.7324 MB / 1.367 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.116e-05/1.245, allocations: 22.17 kB / 1.367 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.978e-05/1.245, allocations: 17.95 kB / 1.367 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of SimCode: time 4.61e-07/1.245, allocations: 0 / 1.367 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of Templates: time 0.005078/1.25, allocations: 1.493 MB / 1.369 GB, free: 31.12 MB / 0.8386 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