Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001654, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002001/0.002002, allocations: 191 kB / 16.13 MB, free: 6.645 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.482/1.482, allocations: 222.9 MB / 239.8 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.482/2.482, allocations: 390.2 MB / 0.6642 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.91 kB / 0.8119 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8376/0.8389, allocations: 140.3 MB / 0.949 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003104/0.842, allocations: 1.466 MB / 0.9504 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.8437, allocations: 1.081 MB / 0.9515 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.8439, allocations: 8.469 kB / 0.9515 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.8441, allocations: 23.72 kB / 0.9515 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.8443, allocations: 18.47 kB / 0.9515 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.8446, allocations: 104.3 kB / 0.9516 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003369/0.8449, allocations: 308.2 kB / 0.9519 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004328/0.8454, allocations: 204 kB / 0.9521 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.8456, allocations: 121 kB / 0.9522 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.8458, allocations: 130.4 kB / 0.9523 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.728e-05/0.8458, allocations: 18.72 kB / 0.9524 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.717e-05/0.8459, allocations: 22.91 kB / 0.9524 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.871e-05/0.846, allocations: 65.19 kB / 0.9524 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.8461, allocations: 136.7 kB / 0.9526 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000392/0.8465, allocations: 446.4 kB / 0.953 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.8465, allocations: 0 / 0.953 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.525e-06/0.8465, allocations: 1.5 kB / 0.953 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.8465, allocations: 0 / 0.953 GB, free: 5.945 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.000854/0.8474, allocations: 0.571 MB / 0.9536 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.8475, allocations: 8.938 kB / 0.9536 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.383e-05/0.8475, allocations: 34.16 kB / 0.9536 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005256/0.8481, allocations: 333.5 kB / 0.9539 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/0.8481, allocations: 28.28 kB / 0.9539 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/0.8482, allocations: 28.22 kB / 0.954 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00054/0.8487, allocations: 288.3 kB / 0.9542 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.8488, allocations: 3.938 kB / 0.9542 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.8488, allocations: 18.53 kB / 0.9543 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.8488, allocations: 11.78 kB / 0.9543 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005231/0.8493, allocations: 229.3 kB / 0.9545 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.8504, allocations: 0.8061 MB / 0.9553 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004855/0.8509, allocations: 236.5 kB / 0.9555 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.8512, allocations: 112.8 kB / 0.9556 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.066e-05/0.8512, allocations: 7.719 kB / 0.9556 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.8513, allocations: 31.91 kB / 0.9557 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 1.673e-06/0.8513, allocations: 4 kB / 0.9557 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.000772/0.8521, allocations: 307.2 kB / 0.9559 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.8521, allocations: 54.94 kB / 0.956 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.8523, allocations: 206.8 kB / 0.9562 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.8523, allocations: 30.45 kB / 0.9562 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.882e-05/0.8524, allocations: 184.8 kB / 0.9564 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.214e-05/0.8525, allocations: 79.44 kB / 0.9565 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.34e-05/0.8526, allocations: 63.56 kB / 0.9565 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.8527, allocations: 331.9 kB / 0.9569 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.8529, allocations: 76.67 kB / 0.9569 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.8531, allocations: 138.4 kB / 0.9571 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003952/0.8535, allocations: 216.3 kB / 0.9573 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.8535, allocations: 0 / 0.9573 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005015/0.854, allocations: 272.5 kB / 0.9575 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.854, allocations: 5.875 kB / 0.9575 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.854, allocations: 6.75 kB / 0.9575 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.8541, allocations: 6.734 kB / 0.9575 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.8543, allocations: 51.53 kB / 0.9576 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.8543, allocations: 2.781 kB / 0.9576 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.8545, allocations: 29.92 kB / 0.9576 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.8545, allocations: 13.12 kB / 0.9576 GB, free: 2.348 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.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 (33): * Single equations (assignments): 33 * 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.0001356/0.8547, allocations: 150.1 kB / 0.9578 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.8547, allocations: 21.31 kB / 0.9578 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005154/0.8552, allocations: 257.1 kB / 0.958 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.8552, allocations: 6.359 kB / 0.9581 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.8553, allocations: 5.188 kB / 0.9581 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.8553, allocations: 0 / 0.9581 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.8556, allocations: 347.8 kB / 0.9584 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.8556, allocations: 0 / 0.9584 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.8559, allocations: 37.25 kB / 0.9584 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.8559, allocations: 1.062 kB / 0.9584 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.8559, allocations: 10.12 kB / 0.9584 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.8559, allocations: 1.062 kB / 0.9584 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8559, allocations: 3.938 kB / 0.9584 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005031/0.8564, allocations: 321 kB / 0.9587 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.996e-05/0.8565, allocations: 103.2 kB / 0.9588 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.8565, allocations: 5.469 kB / 0.9589 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.8567, allocations: 13.97 kB / 0.9589 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.194e-05/0.8568, allocations: 31.05 kB / 0.9589 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.8568, allocations: 4.406 kB / 0.9589 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.981e-05/0.8569, allocations: 141.3 kB / 0.959 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8569, allocations: 0 / 0.959 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003087/0.8572, allocations: 60.88 kB / 0.9591 GB, free: 1.207 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: 8 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0001846/0.8574, allocations: 114.4 kB / 0.9592 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005523/0.858, allocations: 222 kB / 0.9594 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.858, allocations: 1 kB / 0.9594 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.8582, allocations: 107.8 kB / 0.9595 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.8586, allocations: 29.56 kB / 0.9595 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008769/0.8595, allocations: 0.5884 MB / 0.9601 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.8598, allocations: 0.7654 MB / 0.9609 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001565/0.86, allocations: 34.47 kB / 0.9609 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.437e-05/0.8601, allocations: 22.66 kB / 0.9609 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.8601, allocations: 0 / 0.9609 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of Templates: time 0.006087/0.8662, allocations: 1.695 MB / 0.9626 GB, free: 14.93 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches