Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0009191/0.000919, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.0009998/0.001, allocations: 172.7 kB / 15.95 MB, free: 208 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.488/1.488, allocations: 223.3 MB / 240 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.576/2.576, allocations: 390.9 MB / 0.666 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005396/0.0005399, allocations: 8 kB / 0.8154 GB, free: 13.52 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8655/0.8661, allocations: 142.4 MB / 0.9545 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.001366/0.8675, allocations: 0.6837 MB / 0.9552 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.8687, allocations: 0.955 MB / 0.9561 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.123e-05/0.8688, allocations: 5.344 kB / 0.9561 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.303e-05/0.8688, allocations: 7.922 kB / 0.9561 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.8689, allocations: 22.81 kB / 0.9561 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.8691, allocations: 40.81 kB / 0.9562 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.8693, allocations: 141.7 kB / 0.9563 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.8695, allocations: 62.38 kB / 0.9564 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.8696, allocations: 52.53 kB / 0.9564 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.54e-05/0.8697, allocations: 50.31 kB / 0.9565 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.8697, allocations: 8.375 kB / 0.9565 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.01e-05/0.8698, allocations: 3.781 kB / 0.9565 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.8698, allocations: 24.3 kB / 0.9565 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.8698, allocations: 44.73 kB / 0.9565 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.87, allocations: 156.4 kB / 0.9567 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.87, allocations: 0 / 0.9567 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.455e-06/0.87, allocations: 0 / 0.9567 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.87, allocations: 0.8438 kB / 0.9567 GB, free: 5.941 MB / 0.7169 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.0005594/0.8706, allocations: 428.5 kB / 0.9571 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.8706, allocations: 9.312 kB / 0.9571 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.158e-05/0.8707, allocations: 18.92 kB / 0.9571 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000394/0.8711, allocations: 266.8 kB / 0.9574 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.8711, allocations: 9.812 kB / 0.9574 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.8712, allocations: 17.59 kB / 0.9574 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.8715, allocations: 147.5 kB / 0.9575 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.8715, allocations: 0 / 0.9575 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.8715, allocations: 5.094 kB / 0.9575 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.8715, allocations: 6.703 kB / 0.9576 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000319/0.8719, allocations: 133.5 kB / 0.9577 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006322/0.8725, allocations: 470.5 kB / 0.9581 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.8728, allocations: 116.6 kB / 0.9582 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.8729, allocations: 57.45 kB / 0.9583 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.873, allocations: 2.219 kB / 0.9583 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.873, allocations: 31.66 kB / 0.9583 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.873, allocations: 0 / 0.9583 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005381/0.8735, allocations: 194.9 kB / 0.9585 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.8736, allocations: 52.78 kB / 0.9586 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.8737, allocations: 162.3 kB / 0.9587 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.8737, allocations: 25.7 kB / 0.9587 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.8738, allocations: 124.5 kB / 0.9589 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.8738, allocations: 31.67 kB / 0.9589 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/0.8738, allocations: 0 / 0.9589 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.1e-05/0.8739, allocations: 326.5 kB / 0.9592 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.874, allocations: 49.94 kB / 0.9592 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.8742, allocations: 76.02 kB / 0.9593 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.8743, allocations: 47.48 kB / 0.9594 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8744, allocations: 1.156 kB / 0.9594 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003347/0.8747, allocations: 166.2 kB / 0.9595 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.8747, allocations: 5.5 kB / 0.9595 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.8747, allocations: 0 / 0.9595 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.8748, allocations: 6.703 kB / 0.9595 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.8749, allocations: 28.59 kB / 0.9596 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.8749, allocations: 1.375 kB / 0.9596 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.397e-05/0.875, allocations: 29.55 kB / 0.9596 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.8751, allocations: 12.06 kB / 0.9596 GB, free: 3.473 MB / 0.7169 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 9.156e-05/0.8751, allocations: 122.1 kB / 0.9597 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.8752, allocations: 9.406 kB / 0.9597 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.548e-05/0.8752, allocations: 19.45 kB / 0.9598 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.8752, allocations: 5.328 kB / 0.9598 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.8752, allocations: 0 / 0.9598 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.8753, allocations: 1.375 kB / 0.9598 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.8755, allocations: 229.2 kB / 0.96 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.8755, allocations: 4 kB / 0.96 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.8756, allocations: 21.86 kB / 0.96 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.8756, allocations: 0 / 0.96 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.8756, allocations: 5.375 kB / 0.96 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.8756, allocations: 3.938 kB / 0.96 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8756, allocations: 5.328 kB / 0.96 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.876, allocations: 238.6 kB / 0.9602 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/0.876, allocations: 89.08 kB / 0.9603 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.876, allocations: 5.359 kB / 0.9603 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.8761, allocations: 14.88 kB / 0.9603 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/0.8762, allocations: 18.84 kB / 0.9604 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.8762, allocations: 6.703 kB / 0.9604 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.021e-05/0.8763, allocations: 109.2 kB / 0.9605 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8763, allocations: 0 / 0.9605 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002394/0.8765, allocations: 25.78 kB / 0.9605 GB, free: 2.656 MB / 0.7169 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.0001178/0.8767, allocations: 113 kB / 0.9606 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003193/0.877, allocations: 123.8 kB / 0.9607 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.877, allocations: 0 / 0.9607 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.8771, allocations: 58.84 kB / 0.9608 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.8775, allocations: 23.53 kB / 0.9608 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005028/0.878, allocations: 307.6 kB / 0.9611 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.8781, allocations: 0.7152 MB / 0.9618 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.148e-05/0.8782, allocations: 20.3 kB / 0.9618 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.739e-05/0.8783, allocations: 18.61 kB / 0.9618 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.8783, allocations: 0 / 0.9618 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of Templates: time 0.00384/0.8821, allocations: 1.044 MB / 0.9629 GB, free: 0.9844 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches