Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.383/2.383, allocations: 390.5 MB / 398 MB, free: 11.01 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.001279/0.00128, allocations: 172.9 kB / 491.2 MB, free: 1.637 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.513/1.513, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0008656/0.0008656, allocations: 95.75 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.747e-05/1.751e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2572, allocations: 143 MB / 1.212 GB, free: 39.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8718/1.129, allocations: 150.8 MB / 1.36 GB, free: 17.51 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/1.129, allocations: 71.23 kB / 1.36 GB, free: 17.51 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009433/1.139, allocations: 3.843 MB / 1.363 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.663e-06/1.139, allocations: 0 / 1.363 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.915e-05/1.139, allocations: 10.59 kB / 1.363 GB, free: 32.99 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006067/1.139, allocations: 0.4891 MB / 1.364 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/1.139, allocations: 11.25 kB / 1.364 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.22e-05/1.139, allocations: 24.61 kB / 1.364 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/1.14, allocations: 274.9 kB / 1.364 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/1.14, allocations: 11.38 kB / 1.364 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/1.14, allocations: 15.31 kB / 1.364 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002635/1.14, allocations: 139.3 kB / 1.364 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/1.14, allocations: 184.4 kB / 1.365 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/1.14, allocations: 3.984 kB / 1.365 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/1.141, allocations: 0 / 1.365 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/1.141, allocations: 3.844 kB / 1.365 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009411/1.141, allocations: 0.6597 MB / 1.365 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/1.142, allocations: 141.6 kB / 1.365 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.879e-05/1.142, allocations: 52.8 kB / 1.365 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/1.142, allocations: 3.906 kB / 1.365 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/1.142, allocations: 36.11 kB / 1.365 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.222e-06/1.142, allocations: 0 / 1.365 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0002635/1.142, allocations: 132.4 kB / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/1.142, allocations: 55.16 kB / 1.366 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/1.142, allocations: 166.3 kB / 1.366 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/1.142, allocations: 29.52 kB / 1.366 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.28e-05/1.143, allocations: 163.1 kB / 1.366 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/1.143, allocations: 39.88 kB / 1.366 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.095e-05/1.143, allocations: 0 / 1.366 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001051/1.143, allocations: 334.3 kB / 1.366 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.554e-05/1.143, allocations: 42.02 kB / 1.366 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.831e-05/1.143, allocations: 66.48 kB / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.002e-05/1.143, allocations: 29.69 kB / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.143, allocations: 0 / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001842/1.143, allocations: 138.1 kB / 1.367 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/1.143, allocations: 3.656 kB / 1.367 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.143, allocations: 3.875 kB / 1.367 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/1.143, allocations: 4.031 kB / 1.367 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/1.143, allocations: 31.56 kB / 1.367 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/1.143, allocations: 1.547 kB / 1.367 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/1.144, allocations: 19.39 kB / 1.367 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/1.144, allocations: 7.844 kB / 1.367 GB, free: 31.16 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: 10 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,$PRE.actAirSet.gre.greHys.y,actAirSet.gre.greHys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 8.575e-05/1.144, allocations: 112.8 kB / 1.367 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/1.144, allocations: 19.56 kB / 1.367 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.694e-05/1.144, allocations: 22.36 kB / 1.367 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.144, allocations: 1.828 kB / 1.367 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.144, allocations: 11.78 kB / 1.367 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/1.144, allocations: 0 / 1.367 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/1.144, allocations: 256.3 kB / 1.367 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.144, allocations: 3.953 kB / 1.367 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/1.144, allocations: 35.47 kB / 1.367 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/1.144, allocations: 0 / 1.367 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/1.144, allocations: 3.844 kB / 1.367 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/1.144, allocations: 0 / 1.367 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.144, allocations: 0 / 1.367 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/1.144, allocations: 233.4 kB / 1.367 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/1.144, allocations: 96.66 kB / 1.367 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/1.144, allocations: 2.719 kB / 1.367 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/1.145, allocations: 32.16 kB / 1.367 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/1.145, allocations: 32.97 kB / 1.367 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/1.145, allocations: 3.875 kB / 1.367 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.998e-05/1.145, allocations: 127.4 kB / 1.368 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.145, allocations: 0 / 1.368 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002439/1.145, allocations: 45.84 kB / 1.368 GB, free: 30.5 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: 9 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.gre.greHys.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001349/1.145, allocations: 112.5 kB / 1.368 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001971/1.145, allocations: 118.5 kB / 1.368 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.145, allocations: 0 / 1.368 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.556e-05/1.146, allocations: 70.3 kB / 1.368 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/1.146, allocations: 20.38 kB / 1.368 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004583/1.146, allocations: 245.7 kB / 1.368 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/1.147, allocations: 0.7485 MB / 1.369 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001002/1.147, allocations: 18.59 kB / 1.369 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.06e-05/1.147, allocations: 21.52 kB / 1.369 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.147, allocations: 0 / 1.369 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of Templates: time 0.004402/1.151, allocations: 1.708 MB / 1.371 GB, free: 29.46 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches