Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 105 kB / 15.99 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 195.6 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.798/2.798, allocations: 482.4 MB / 0.755 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001974, allocations: 77.59 kB / 0.9241 GB, free: 276 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.838/0.84, allocations: 162.2 MB / 1.082 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002262/0.8423, allocations: 1.069 MB / 1.084 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.8434, allocations: 0.972 MB / 1.084 GB, free: 224 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.283e-05/0.8435, allocations: 2.469 kB / 1.084 GB, free: 224 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.149e-05/0.8435, allocations: 7.266 kB / 1.084 GB, free: 220 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.944e-05/0.8436, allocations: 18.47 kB / 1.084 GB, free: 204 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.8438, allocations: 55.72 kB / 1.085 GB, free: 168 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.844, allocations: 165.1 kB / 1.085 GB, free: 80 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.8442, allocations: 97.23 kB / 1.085 GB, free: 28 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.8444, allocations: 69.55 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.8445, allocations: 80 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.8445, allocations: 18.47 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.994e-05/0.8446, allocations: 16.12 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.384e-05/0.8446, allocations: 35.61 kB / 1.085 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.422e-05/0.8447, allocations: 77.36 kB / 1.085 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.8449, allocations: 168.1 kB / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.845, allocations: 2.031 kB / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.333e-06/0.845, allocations: 0 / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.845, allocations: 3.938 kB / 1.085 GB, free: 15.81 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007034/0.8457, allocations: 450.3 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.8457, allocations: 9.875 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.568e-05/0.8458, allocations: 22.3 kB / 1.086 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004544/0.8463, allocations: 251.8 kB / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.8463, allocations: 10.44 kB / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.8463, allocations: 13.69 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.8467, allocations: 158.6 kB / 1.086 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.8467, allocations: 1.312 kB / 1.086 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.8467, allocations: 8.688 kB / 1.086 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.8467, allocations: 3.375 kB / 1.086 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003594/0.8471, allocations: 119.2 kB / 1.086 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007488/0.8479, allocations: 494.6 kB / 1.087 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.8482, allocations: 120.7 kB / 1.087 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.8484, allocations: 55.73 kB / 1.087 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.8484, allocations: 1.219 kB / 1.087 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.8484, allocations: 36.58 kB / 1.087 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.223e-06/0.8484, allocations: 0 / 1.087 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0005678/0.849, allocations: 174.5 kB / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.8491, allocations: 52.88 kB / 1.087 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.8492, allocations: 165.4 kB / 1.087 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.8493, allocations: 26.98 kB / 1.087 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/0.8494, allocations: 115.4 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.8494, allocations: 38.56 kB / 1.087 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.899e-05/0.8495, allocations: 41.02 kB / 1.088 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.8496, allocations: 324.8 kB / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.8498, allocations: 44.91 kB / 1.088 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.85, allocations: 76.55 kB / 1.088 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.8503, allocations: 112.5 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.8503, allocations: 0 / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003676/0.8506, allocations: 152 kB / 1.088 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.8507, allocations: 4.438 kB / 1.088 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.8507, allocations: 1.906 kB / 1.088 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.8507, allocations: 5.375 kB / 1.088 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.8509, allocations: 29.62 kB / 1.088 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.8509, allocations: 2.594 kB / 1.088 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.851, allocations: 17.16 kB / 1.088 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.851, allocations: 4.109 kB / 1.088 GB, free: 13.53 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.y,actAirSet.or3.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.8511, allocations: 128.7 kB / 1.088 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.8512, allocations: 17.52 kB / 1.088 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.606e-05/0.8512, allocations: 20.17 kB / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.8512, allocations: 1.094 kB / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.8513, allocations: 1.891 kB / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.8513, allocations: 0.7031 kB / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.8516, allocations: 247.5 kB / 1.089 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.8516, allocations: 0 / 1.089 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.8517, allocations: 23.52 kB / 1.089 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.8517, allocations: 1.125 kB / 1.089 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.8517, allocations: 1.875 kB / 1.089 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.8517, allocations: 9.953 kB / 1.089 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.8517, allocations: 0 / 1.089 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.8521, allocations: 232.7 kB / 1.089 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.8522, allocations: 84.69 kB / 1.089 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.8522, allocations: 4.875 kB / 1.089 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.8524, allocations: 13.31 kB / 1.089 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.673e-05/0.8524, allocations: 15.5 kB / 1.089 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.8525, allocations: 7.203 kB / 1.089 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.244e-05/0.8525, allocations: 113.4 kB / 1.089 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8526, allocations: 0 / 1.089 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002555/0.8528, allocations: 31.19 kB / 1.089 GB, free: 12.76 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001289/0.8529, allocations: 102.5 kB / 1.089 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003868/0.8533, allocations: 130.2 kB / 1.089 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8534, allocations: 0 / 1.089 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.8535, allocations: 60.36 kB / 1.089 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.8539, allocations: 11.5 kB / 1.089 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006458/0.8545, allocations: 357.7 kB / 1.09 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.8549, allocations: 0.7188 MB / 1.09 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.199e-05/0.8549, allocations: 15.84 kB / 1.091 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of SimCode: time 4.21e-07/0.8549, allocations: 1.5 kB / 1.091 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of Templates: time 0.003791/0.8587, allocations: 1.698 MB / 1.092 GB, free: 11.46 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches