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.000929/0.0009289, allocations: 92.7 kB / 16.02 MB, free: 80 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.001065/0.001065, allocations: 181.6 kB / 16.92 MB, free: 6.926 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.48/1.48, allocations: 223.3 MB / 241 MB, free: 5.258 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.634/2.634, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.0003829, allocations: 11.94 kB / 0.8167 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8363/0.8367, allocations: 142.4 MB / 0.9558 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.001264/0.838, allocations: 0.7127 MB / 0.9565 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.8392, allocations: 0.9702 MB / 0.9574 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.517e-05/0.8393, allocations: 3.375 kB / 0.9574 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.275e-05/0.8394, allocations: 7.922 kB / 0.9574 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.8395, allocations: 13.05 kB / 0.9574 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.8397, allocations: 58.33 kB / 0.9575 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.8399, allocations: 147.1 kB / 0.9576 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.8401, allocations: 89.75 kB / 0.9577 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.8403, allocations: 45.8 kB / 0.9578 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.539e-05/0.8404, allocations: 58.23 kB / 0.9578 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.8404, allocations: 3.719 kB / 0.9578 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.781e-05/0.8404, allocations: 4.344 kB / 0.9578 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.909e-05/0.8404, allocations: 20.66 kB / 0.9578 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.326e-05/0.8405, allocations: 80.73 kB / 0.9579 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.8407, allocations: 152.5 kB / 0.9581 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.8407, allocations: 0 / 0.9581 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.585e-06/0.8407, allocations: 4 kB / 0.9581 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.8407, allocations: 0 / 0.9581 GB, free: 5.922 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.0005606/0.8413, allocations: 427 kB / 0.9585 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.8413, allocations: 10.56 kB / 0.9585 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.8414, allocations: 15.97 kB / 0.9585 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/0.8418, allocations: 270.4 kB / 0.9587 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.8418, allocations: 11.78 kB / 0.9588 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.8419, allocations: 13.38 kB / 0.9588 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.8422, allocations: 155.5 kB / 0.9589 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.8422, allocations: 3.938 kB / 0.9589 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.8422, allocations: 5.344 kB / 0.9589 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.8422, allocations: 4.719 kB / 0.9589 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003497/0.8426, allocations: 128.4 kB / 0.9591 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006065/0.8432, allocations: 475.6 kB / 0.9595 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.8435, allocations: 116.2 kB / 0.9596 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.8437, allocations: 55.55 kB / 0.9597 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.8437, allocations: 5.031 kB / 0.9597 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.8437, allocations: 35.72 kB / 0.9597 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.8437, allocations: 0 / 0.9597 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005467/0.8443, allocations: 184.7 kB / 0.9599 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.8443, allocations: 57.03 kB / 0.9599 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.8444, allocations: 157.5 kB / 0.9601 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.8444, allocations: 29.64 kB / 0.9601 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.8445, allocations: 120.5 kB / 0.9602 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.8445, allocations: 31.67 kB / 0.9603 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.8446, allocations: 32.58 kB / 0.9603 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.394e-05/0.8446, allocations: 325.5 kB / 0.9606 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.8448, allocations: 43.47 kB / 0.9607 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.8449, allocations: 84.39 kB / 0.9607 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.8452, allocations: 120.1 kB / 0.9608 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.8452, allocations: 0 / 0.9608 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003638/0.8456, allocations: 167.7 kB / 0.961 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.8456, allocations: 5.5 kB / 0.961 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/0.8457, allocations: 0 / 0.961 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.8457, allocations: 2.75 kB / 0.961 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.8459, allocations: 32.53 kB / 0.961 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.8459, allocations: 1.375 kB / 0.961 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.846, allocations: 25.64 kB / 0.9611 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.846, allocations: 8.062 kB / 0.9611 GB, free: 3.379 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 (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 8.756e-05/0.8461, allocations: 122.1 kB / 0.9612 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/0.8461, allocations: 17.25 kB / 0.9612 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.671e-05/0.8462, allocations: 19.45 kB / 0.9612 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.8462, allocations: 1.375 kB / 0.9612 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.8462, allocations: 0 / 0.9612 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.8462, allocations: 8 kB / 0.9612 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.8464, allocations: 234.5 kB / 0.9615 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.8464, allocations: 0 / 0.9615 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.8466, allocations: 20.48 kB / 0.9615 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.8466, allocations: 1.375 kB / 0.9615 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.8466, allocations: 5.375 kB / 0.9615 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.8466, allocations: 3.984 kB / 0.9615 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8466, allocations: 5.312 kB / 0.9615 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003575/0.847, allocations: 239.9 kB / 0.9617 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.847, allocations: 92.33 kB / 0.9618 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.847, allocations: 9.234 kB / 0.9618 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.8471, allocations: 10.91 kB / 0.9618 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.248e-05/0.8472, allocations: 22.95 kB / 0.9619 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.8472, allocations: 2.062 kB / 0.9619 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.675e-05/0.8473, allocations: 112.9 kB / 0.962 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8473, allocations: 1 kB / 0.962 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002512/0.8476, allocations: 25.44 kB / 0.962 GB, free: 2.543 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 (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.0001243/0.8477, allocations: 109.5 kB / 0.9621 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003758/0.8481, allocations: 120.7 kB / 0.9622 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8481, allocations: 4.125 kB / 0.9622 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.8483, allocations: 62.31 kB / 0.9623 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.8486, allocations: 17.02 kB / 0.9623 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005436/0.8491, allocations: 341.6 kB / 0.9626 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.8493, allocations: 0.7186 MB / 0.9633 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.893e-05/0.8494, allocations: 28.17 kB / 0.9633 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.8494, allocations: 0 / 0.9633 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of Templates: time 0.003325/0.8527, allocations: 1.601 MB / 0.9649 GB, free: 0.5312 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/jenkins1/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