Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.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_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.297/2.297, allocations: 387.1 MB / 399.7 MB, free: 9.504 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.001144/0.001144, allocations: 180.8 kB / 492.3 MB, free: 0.625 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.634/1.634, 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.00109/0.00109, allocations: 97.03 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.403e-05/3.405e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3028, allocations: 142.3 MB / 1.212 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8991/1.202, allocations: 150.2 MB / 1.359 GB, free: 19.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/1.202, allocations: 81.72 kB / 1.359 GB, free: 19.15 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008062/1.21, allocations: 3.112 MB / 1.362 GB, free: 34.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.313e-06/1.21, allocations: 0 / 1.362 GB, free: 34.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.917e-06/1.21, allocations: 3.844 kB / 1.362 GB, free: 34.66 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.000463/1.211, allocations: 448.2 kB / 1.363 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/1.211, allocations: 11.72 kB / 1.363 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/1.211, allocations: 19.38 kB / 1.363 GB, free: 34.27 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/1.211, allocations: 193.1 kB / 1.363 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/1.211, allocations: 18.59 kB / 1.363 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/1.211, allocations: 15.47 kB / 1.363 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/1.212, allocations: 172.3 kB / 1.363 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/1.212, allocations: 3.938 kB / 1.363 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/1.212, allocations: 14.81 kB / 1.363 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/1.212, allocations: 3.812 kB / 1.363 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/1.212, allocations: 124.6 kB / 1.363 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007446/1.213, allocations: 0.6065 MB / 1.364 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/1.213, allocations: 120.6 kB / 1.364 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.444e-05/1.213, allocations: 52.94 kB / 1.364 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/1.213, allocations: 4 kB / 1.364 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/1.213, allocations: 34.52 kB / 1.364 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.243e-06/1.213, allocations: 0 / 1.364 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.000246/1.213, allocations: 140.8 kB / 1.364 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.128e-05/1.213, allocations: 55.25 kB / 1.364 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/1.213, allocations: 176.9 kB / 1.364 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/1.213, allocations: 25.7 kB / 1.364 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/1.213, allocations: 126.4 kB / 1.365 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/1.213, allocations: 49.3 kB / 1.365 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.714e-06/1.213, allocations: 0 / 1.365 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.441e-05/1.214, allocations: 326.6 kB / 1.365 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.311e-05/1.214, allocations: 37.56 kB / 1.365 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.904e-05/1.214, allocations: 41.25 kB / 1.365 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.042e-05/1.214, allocations: 32.48 kB / 1.365 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/1.214, allocations: 0 / 1.365 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001753/1.214, allocations: 131.3 kB / 1.365 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/1.214, allocations: 3.844 kB / 1.365 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/1.214, allocations: 7.953 kB / 1.365 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/1.214, allocations: 3.844 kB / 1.365 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/1.214, allocations: 25.94 kB / 1.365 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/1.214, allocations: 0 / 1.365 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/1.214, allocations: 24.08 kB / 1.365 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/1.214, allocations: 0 / 1.365 GB, free: 32.87 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 6.627e-05/1.214, allocations: 115.9 kB / 1.365 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.525e-05/1.214, allocations: 19.44 kB / 1.365 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.447e-05/1.214, allocations: 22.16 kB / 1.365 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/1.214, allocations: 11.73 kB / 1.365 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.214, allocations: 0 / 1.365 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/1.214, allocations: 1.688 kB / 1.365 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/1.215, allocations: 278.4 kB / 1.366 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.215, allocations: 0 / 1.366 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/1.215, allocations: 33.67 kB / 1.366 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/1.215, allocations: 0 / 1.366 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/1.215, allocations: 0 / 1.366 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.215, allocations: 3.812 kB / 1.366 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.215, allocations: 9.438 kB / 1.366 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/1.215, allocations: 230.7 kB / 1.366 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/1.215, allocations: 92.67 kB / 1.366 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/1.215, allocations: 4.688 kB / 1.366 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/1.215, allocations: 17.97 kB / 1.366 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.872e-05/1.215, allocations: 26.31 kB / 1.366 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.497e-06/1.215, allocations: 3.875 kB / 1.366 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.061e-05/1.216, allocations: 138.2 kB / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.71e-07/1.216, allocations: 0 / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002321/1.216, allocations: 38.16 kB / 1.366 GB, free: 32.19 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.0001261/1.216, allocations: 122.7 kB / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001896/1.216, allocations: 108.7 kB / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/1.216, allocations: 0 / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.585e-05/1.216, allocations: 61.3 kB / 1.366 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/1.216, allocations: 15.16 kB / 1.366 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004045/1.217, allocations: 215.6 kB / 1.367 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/1.217, allocations: 0.7326 MB / 1.367 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.484e-05/1.217, allocations: 26.91 kB / 1.367 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.207e-05/1.217, allocations: 15.09 kB / 1.367 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.217, allocations: 0 / 1.367 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of Templates: time 0.003678/1.221, allocations: 1.487 MB / 1.369 GB, free: 31.17 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches