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.317/2.317, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001042/0.001042, allocations: 169 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.79/1.79, allocations: 221.3 MB / 0.7915 GB, free: 5.469 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.0009094/0.0009095, allocations: 90.89 kB / 0.9317 GB, free: 5.793 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.08e-05/3.083e-05, allocations: 3.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3185, allocations: 143 MB / 1.219 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.349, allocations: 151 MB / 1.366 GB, free: 3.066 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/1.349, allocations: 72.61 kB / 1.366 GB, free: 3.027 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01166/1.361, allocations: 3.113 MB / 1.369 GB, free: 356 kB / 0.823 GB Notification: Performance of FrontEnd: time 2.204e-06/1.361, allocations: 0 / 1.369 GB, free: 356 kB / 0.823 GB Notification: Performance of Transformations before backend: time 1.556e-05/1.361, allocations: 4 kB / 1.369 GB, free: 352 kB / 0.823 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.0008567/1.362, allocations: 451.6 kB / 1.37 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/1.362, allocations: 11.97 kB / 1.37 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.764e-05/1.362, allocations: 23.72 kB / 1.37 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/1.362, allocations: 192.2 kB / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.17e-05/1.362, allocations: 18.8 kB / 1.37 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.023e-05/1.362, allocations: 18.31 kB / 1.37 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005064/1.363, allocations: 173.4 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/1.363, allocations: 0 / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/1.363, allocations: 5.875 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/1.363, allocations: 8 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003677/1.363, allocations: 130 kB / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/1.364, allocations: 0.61 MB / 1.371 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003609/1.365, allocations: 119 kB / 1.371 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/1.365, allocations: 58.25 kB / 1.371 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/1.365, allocations: 4 kB / 1.371 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/1.365, allocations: 38.55 kB / 1.371 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 2.515e-06/1.365, allocations: 0 / 1.371 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.000451/1.366, allocations: 124.9 kB / 1.371 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/1.366, allocations: 51.41 kB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/1.366, allocations: 181 kB / 1.372 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/1.366, allocations: 29.2 kB / 1.372 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/1.366, allocations: 126 kB / 1.372 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.461e-05/1.366, allocations: 54.27 kB / 1.372 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/1.366, allocations: 0 / 1.372 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001502/1.366, allocations: 326.1 kB / 1.372 GB, free: 13.81 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/1.367, allocations: 34.97 kB / 1.372 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/1.367, allocations: 47.02 kB / 1.372 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.717e-05/1.367, allocations: 22.75 kB / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.367, allocations: 0 / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003458/1.367, allocations: 131.9 kB / 1.372 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/1.367, allocations: 7.953 kB / 1.372 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.367, allocations: 4 kB / 1.372 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/1.367, allocations: 0 / 1.372 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/1.367, allocations: 31.91 kB / 1.372 GB, free: 13.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/1.367, allocations: 4 kB / 1.372 GB, free: 13.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/1.368, allocations: 19.58 kB / 1.372 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/1.368, allocations: 4 kB / 1.372 GB, free: 13.58 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.0001243/1.368, allocations: 113.5 kB / 1.372 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/1.368, allocations: 19.62 kB / 1.372 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.538e-05/1.368, allocations: 20.59 kB / 1.373 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/1.368, allocations: 7.938 kB / 1.373 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/1.368, allocations: 0 / 1.373 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.368, allocations: 3.938 kB / 1.373 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004367/1.368, allocations: 282.8 kB / 1.373 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.368, allocations: 0 / 1.373 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/1.369, allocations: 31.92 kB / 1.373 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/1.369, allocations: 0 / 1.373 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/1.369, allocations: 7.484 kB / 1.373 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/1.369, allocations: 7.953 kB / 1.373 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.369, allocations: 0 / 1.373 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/1.369, allocations: 223.7 kB / 1.373 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.1e-05/1.369, allocations: 92.67 kB / 1.373 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/1.369, allocations: 7.984 kB / 1.373 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/1.37, allocations: 15.81 kB / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/1.37, allocations: 27.09 kB / 1.373 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/1.37, allocations: 7.25 kB / 1.373 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001553/1.37, allocations: 138.4 kB / 1.373 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.31e-07/1.37, allocations: 0 / 1.373 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004343/1.37, allocations: 35.75 kB / 1.373 GB, free: 12.59 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.0002077/1.371, allocations: 123.7 kB / 1.373 GB, free: 12.47 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000328/1.371, allocations: 103 kB / 1.374 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.371, allocations: 0 / 1.374 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/1.371, allocations: 66.42 kB / 1.374 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/1.371, allocations: 11.28 kB / 1.374 GB, free: 12.35 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006845/1.372, allocations: 217.9 kB / 1.374 GB, free: 12.15 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/1.373, allocations: 0.7363 MB / 1.375 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00015/1.373, allocations: 21.19 kB / 1.375 GB, free: 11.37 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.197e-05/1.373, allocations: 19.44 kB / 1.375 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.373, allocations: 0 / 1.375 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of Templates: time 0.006449/1.379, allocations: 1.477 MB / 1.376 GB, free: 9.938 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