Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.331/2.331, allocations: 390.5 MB / 398 MB, free: 10.94 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.001478/0.001478, allocations: 176.7 kB / 491.2 MB, free: 1.57 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.625/1.625, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001046/0.001047, allocations: 95.94 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.672e-05/1.691e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3097, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.016/1.325, allocations: 150.4 MB / 1.359 GB, free: 17.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/1.326, allocations: 81.25 kB / 1.359 GB, free: 17.48 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008534/1.334, allocations: 3.095 MB / 1.362 GB, free: 33 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.42e-07/1.334, allocations: 0 / 1.362 GB, free: 33 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.027e-06/1.334, allocations: 3.688 kB / 1.362 GB, free: 33 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.0004901/1.335, allocations: 448 kB / 1.363 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/1.335, allocations: 7.719 kB / 1.363 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/1.335, allocations: 23.28 kB / 1.363 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/1.335, allocations: 201.2 kB / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/1.335, allocations: 7.5 kB / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/1.335, allocations: 7.531 kB / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002369/1.335, allocations: 118.6 kB / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/1.336, allocations: 146.8 kB / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/1.336, allocations: 4 kB / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/1.336, allocations: 0 / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/1.336, allocations: 3.812 kB / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007865/1.336, allocations: 0.5478 MB / 1.364 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/1.337, allocations: 114.8 kB / 1.364 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.648e-05/1.337, allocations: 46.61 kB / 1.364 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/1.337, allocations: 7.75 kB / 1.364 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/1.337, allocations: 41.39 kB / 1.364 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/1.337, allocations: 0 / 1.364 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.000232/1.337, allocations: 116.6 kB / 1.364 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.743e-05/1.337, allocations: 51.41 kB / 1.364 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/1.337, allocations: 148.3 kB / 1.364 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/1.337, allocations: 25.7 kB / 1.364 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.955e-05/1.337, allocations: 140.4 kB / 1.364 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/1.337, allocations: 33.88 kB / 1.364 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-06/1.337, allocations: 0 / 1.364 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001044/1.337, allocations: 324.1 kB / 1.365 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.506e-05/1.337, allocations: 36.27 kB / 1.365 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.956e-05/1.337, allocations: 39.44 kB / 1.365 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.975e-05/1.338, allocations: 23.05 kB / 1.365 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.338, allocations: 0 / 1.365 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001621/1.338, allocations: 121.9 kB / 1.365 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/1.338, allocations: 7.656 kB / 1.365 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.338, allocations: 4 kB / 1.365 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/1.338, allocations: 9.297 kB / 1.365 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/1.338, allocations: 25.34 kB / 1.365 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/1.338, allocations: 0 / 1.365 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.589e-05/1.338, allocations: 14.56 kB / 1.365 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/1.338, allocations: 5.297 kB / 1.365 GB, free: 31.24 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.612e-05/1.338, allocations: 110 kB / 1.365 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/1.338, allocations: 15.5 kB / 1.365 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.816e-05/1.338, allocations: 12.59 kB / 1.365 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.338, allocations: 7.922 kB / 1.365 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.338, allocations: 13.09 kB / 1.365 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/1.338, allocations: 3.984 kB / 1.365 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/1.338, allocations: 236.5 kB / 1.365 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.338, allocations: 0 / 1.365 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/1.339, allocations: 29.53 kB / 1.365 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/1.339, allocations: 1.547 kB / 1.365 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/1.339, allocations: 0 / 1.365 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.339, allocations: 3.844 kB / 1.365 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-06/1.339, allocations: 0 / 1.365 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/1.339, allocations: 217.8 kB / 1.366 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/1.339, allocations: 90.34 kB / 1.366 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/1.339, allocations: 3.875 kB / 1.366 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/1.339, allocations: 15 kB / 1.366 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.842e-05/1.339, allocations: 23.5 kB / 1.366 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/1.339, allocations: 4.734 kB / 1.366 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.871e-05/1.339, allocations: 108.8 kB / 1.366 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.339, allocations: 0 / 1.366 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002323/1.339, allocations: 42.92 kB / 1.366 GB, free: 30.6 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.0001323/1.34, allocations: 117 kB / 1.366 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001956/1.34, allocations: 101.9 kB / 1.366 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.34, allocations: 0 / 1.366 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.985e-05/1.34, allocations: 57.25 kB / 1.366 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/1.34, allocations: 10.2 kB / 1.366 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000384/1.341, allocations: 206.2 kB / 1.366 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/1.341, allocations: 0.7358 MB / 1.367 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.412e-05/1.341, allocations: 20.14 kB / 1.367 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.065e-05/1.341, allocations: 17.38 kB / 1.367 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.341, allocations: 0 / 1.367 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of Templates: time 0.003594/1.345, allocations: 1.277 MB / 1.368 GB, free: 29.6 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches