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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001226/0.001226, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001364/0.001364, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.2 MB / 239.9 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.688/2.688, allocations: 436.5 MB / 0.7104 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003543, allocations: 8 kB / 0.8708 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8659/0.8663, allocations: 153.7 MB / 1.021 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.001589/0.8679, allocations: 0.6905 MB / 1.022 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.8693, allocations: 0.9598 MB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.005e-05/0.8694, allocations: 4 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.774e-05/0.8695, allocations: 15.86 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.8696, allocations: 19.91 kB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.8698, allocations: 43.89 kB / 1.023 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.8699, allocations: 88.28 kB / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.8701, allocations: 67.78 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.8703, allocations: 43.78 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.8704, allocations: 59.69 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.8705, allocations: 4 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.823e-05/0.8705, allocations: 4 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.449e-05/0.8705, allocations: 23.91 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/0.8706, allocations: 45.58 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.8707, allocations: 149.6 kB / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.8708, allocations: 0 / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8708, allocations: 0 / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.8708, allocations: 0 / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005793/0.8714, allocations: 431 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.8714, allocations: 15.98 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.8715, allocations: 19.81 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.8719, allocations: 265 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.872, allocations: 16.23 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.872, allocations: 12 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003382/0.8723, allocations: 151.8 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.8723, allocations: 0 / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.8724, allocations: 8 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.8724, allocations: 8 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003238/0.8727, allocations: 124.8 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006261/0.8734, allocations: 476.1 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.8736, allocations: 110.7 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.8736, allocations: 3.938 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.8737, allocations: 30.78 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 2.384e-06/0.8737, allocations: 0 / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005356/0.8742, allocations: 193.3 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.8743, allocations: 51.41 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.8744, allocations: 158.5 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.8745, allocations: 25.7 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.401e-05/0.8745, allocations: 128.1 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.8746, allocations: 35.48 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.8746, allocations: 0 / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.8747, allocations: 326.8 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.8749, allocations: 43.97 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.8751, allocations: 90.45 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.8752, allocations: 43.98 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.8752, allocations: 3.953 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003523/0.8756, allocations: 157.4 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.8756, allocations: 8.094 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.8756, allocations: 0 / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.8756, allocations: 4 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.8758, allocations: 31.91 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.8758, allocations: 4 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.8759, allocations: 23.83 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.876, allocations: 4 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,reaToInt2.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 (14): * Single equations (assignments): 14 * 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.0001162/0.8761, allocations: 125.8 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.8761, allocations: 15.84 kB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.041e-05/0.8762, allocations: 20.7 kB / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.8762, allocations: 0 / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.8762, allocations: 7.938 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.8762, allocations: 0 / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.8764, allocations: 229.6 kB / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8765, allocations: 0 / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.8766, allocations: 31.94 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.8766, allocations: 0 / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.8766, allocations: 4 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.8766, allocations: 4 kB / 1.026 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.8766, allocations: 0 / 1.026 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.877, allocations: 243.7 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.877, allocations: 88.95 kB / 1.027 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.8771, allocations: 15.88 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.8772, allocations: 8 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.8773, allocations: 19.97 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.8773, allocations: 4 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.726e-05/0.8773, allocations: 107.8 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8773, allocations: 0 / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002477/0.8776, allocations: 27.91 kB / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001339/0.8777, allocations: 103.2 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000343/0.8781, allocations: 119.9 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.8e-06/0.8781, allocations: 0 / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.8783, allocations: 72.03 kB / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.8785, allocations: 18.11 kB / 1.027 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005183/0.879, allocations: 306.3 kB / 1.027 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.8793, allocations: 0.7155 MB / 1.028 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.595e-05/0.8794, allocations: 16.64 kB / 1.028 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.023e-05/0.8795, allocations: 19.42 kB / 1.028 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of SimCode: time 5.21e-07/0.8795, allocations: 4 kB / 1.028 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of Templates: time 0.003785/0.8833, allocations: 1.036 MB / 1.029 GB, free: 8.312 MB / 0.7794 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=480 -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","../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