Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001253/0.001252, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 198.4 kB / 16.79 MB, free: 6.809 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.458/1.458, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.695/2.695, allocations: 437 MB / 0.7106 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002467/0.002467, allocations: 63.91 kB / 0.8693 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8512/0.8537, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002861/0.8566, allocations: 1.068 MB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.8581, allocations: 0.9713 MB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.8583, allocations: 4 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 7.853e-05/0.8584, allocations: 7.922 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.8585, allocations: 15.86 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.8588, allocations: 55.91 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.859, allocations: 156 kB / 1.02 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.8593, allocations: 88.16 kB / 1.02 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.8594, allocations: 63.72 kB / 1.02 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.8596, allocations: 63.67 kB / 1.02 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.903e-05/0.8596, allocations: 12 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.602e-05/0.8596, allocations: 8 kB / 1.02 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.144e-05/0.8597, allocations: 31.84 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 8.188e-05/0.8598, allocations: 63.61 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.86, allocations: 157.6 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.86, allocations: 0 / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of FrontEnd: time 1.072e-06/0.86, allocations: 4.047 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.86, allocations: 0 / 1.02 GB, free: 15.99 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.0007806/0.8608, allocations: 451.2 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.8609, allocations: 12.03 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.392e-05/0.8609, allocations: 16.75 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004686/0.8614, allocations: 252.1 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.8615, allocations: 16.64 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.8615, allocations: 20.38 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.8619, allocations: 140.4 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.8619, allocations: 192 / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.8619, allocations: 19.81 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.8619, allocations: 0 / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003274/0.8622, allocations: 112.8 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007797/0.863, allocations: 480.1 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.8633, allocations: 114.5 kB / 1.022 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.8635, allocations: 48.83 kB / 1.022 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.8635, allocations: 0 / 1.022 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.8636, allocations: 30.56 kB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.8636, allocations: 4 kB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005635/0.8642, allocations: 173.4 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.8642, allocations: 51.41 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.8644, allocations: 153.9 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.8644, allocations: 33.7 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.385e-05/0.8645, allocations: 112.2 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.8645, allocations: 43.53 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.453e-05/0.8646, allocations: 37.7 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.8647, allocations: 322.8 kB / 1.023 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.8649, allocations: 43.97 kB / 1.023 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.865, allocations: 67.39 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.8653, allocations: 111.3 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.8654, allocations: 0 / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003524/0.8657, allocations: 149.4 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.8657, allocations: 5.562 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.8657, allocations: 0 / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.8658, allocations: 4 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.866, allocations: 27.91 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.866, allocations: 4 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.8661, allocations: 15.92 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.8661, allocations: 8 kB / 1.023 GB, free: 12.73 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 (reaToInt2.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 (14): * Single equations (assignments): 14 * 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.0001207/0.8662, allocations: 144.2 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.8663, allocations: 11.81 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.872e-05/0.8663, allocations: 12.7 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.8663, allocations: 7.938 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.8663, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.8664, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.8666, allocations: 225.5 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.8666, allocations: 0 / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.8668, allocations: 27.97 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.8668, allocations: 4 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.8668, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.8668, allocations: 3.938 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8668, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/0.8672, allocations: 227.9 kB / 1.024 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.8673, allocations: 104.7 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.8673, allocations: 0 / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.8674, allocations: 7.984 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.277e-05/0.8675, allocations: 19.97 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.8675, allocations: 0 / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.078e-05/0.8676, allocations: 119.2 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8676, allocations: 0 / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002747/0.8679, allocations: 27.84 kB / 1.024 GB, free: 11.71 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 (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.0001538/0.8681, allocations: 107.2 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003474/0.8684, allocations: 107.9 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8684, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.8686, allocations: 59.91 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.869, allocations: 14.62 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006412/0.8696, allocations: 338.7 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.87, allocations: 0.7119 MB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.916e-05/0.87, allocations: 19.42 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.87, allocations: 0 / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of Templates: time 0.003761/0.8738, allocations: 1.63 MB / 1.027 GB, free: 8.684 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches