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.001322/0.001322, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01111/0.01111, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.651/1.651, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.645/2.645, allocations: 390.9 MB / 0.6663 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004165/0.0004165, allocations: 11.98 kB / 0.816 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.834/0.8345, allocations: 142.4 MB / 0.9551 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.001809/0.8363, allocations: 1.099 MB / 0.9562 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.8376, allocations: 1.072 MB / 0.9572 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.8377, allocations: 3.906 kB / 0.9572 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.451e-05/0.8378, allocations: 24.69 kB / 0.9572 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.838, allocations: 22.22 kB / 0.9573 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.8383, allocations: 108.4 kB / 0.9574 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000328/0.8386, allocations: 304.3 kB / 0.9577 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004074/0.839, allocations: 196.7 kB / 0.9578 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.8392, allocations: 91.62 kB / 0.9579 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.8394, allocations: 93.95 kB / 0.958 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.132e-05/0.8395, allocations: 9.25 kB / 0.958 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.407e-05/0.8395, allocations: 8.594 kB / 0.958 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.911e-05/0.8396, allocations: 48.59 kB / 0.9581 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.8397, allocations: 135.6 kB / 0.9582 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003749/0.8401, allocations: 429.8 kB / 0.9586 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.8401, allocations: 0 / 0.9586 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8401, allocations: 0 / 0.9586 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.8401, allocations: 4 kB / 0.9586 GB, free: 5.09 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.0006968/0.8408, allocations: 0.5141 MB / 0.9591 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.8409, allocations: 8.938 kB / 0.9591 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.231e-05/0.8409, allocations: 38.03 kB / 0.9592 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004969/0.8414, allocations: 338.9 kB / 0.9595 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.8415, allocations: 22.78 kB / 0.9595 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/0.8415, allocations: 33 kB / 0.9596 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005477/0.8421, allocations: 297.9 kB / 0.9598 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.8421, allocations: 0 / 0.9598 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.8421, allocations: 14.75 kB / 0.9598 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.8422, allocations: 12.19 kB / 0.9599 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005454/0.8427, allocations: 240.2 kB / 0.9601 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.8438, allocations: 0.8098 MB / 0.9609 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000496/0.8443, allocations: 241.5 kB / 0.9611 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.8446, allocations: 118.8 kB / 0.9612 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.8446, allocations: 6.547 kB / 0.9612 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.8446, allocations: 40.56 kB / 0.9613 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 1.333e-06/0.8446, allocations: 3.938 kB / 0.9613 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.0008548/0.8455, allocations: 327.5 kB / 0.9616 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.8456, allocations: 54.53 kB / 0.9616 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.8457, allocations: 207.1 kB / 0.9618 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.8458, allocations: 30.8 kB / 0.9619 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.858e-05/0.8459, allocations: 180.1 kB / 0.962 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.319e-05/0.8459, allocations: 72.78 kB / 0.9621 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.409e-05/0.846, allocations: 44.09 kB / 0.9621 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.466e-05/0.8461, allocations: 335.3 kB / 0.9625 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.8463, allocations: 83.61 kB / 0.9625 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.8466, allocations: 143.5 kB / 0.9627 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004567/0.8471, allocations: 222.9 kB / 0.9629 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.8471, allocations: 1.344 kB / 0.9629 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005835/0.8477, allocations: 288.2 kB / 0.9632 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.8477, allocations: 5.438 kB / 0.9632 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.8477, allocations: 10.28 kB / 0.9632 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.8477, allocations: 3.375 kB / 0.9632 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.848, allocations: 54.47 kB / 0.9632 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.848, allocations: 2.656 kB / 0.9632 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.8482, allocations: 32.55 kB / 0.9633 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.8482, allocations: 16.12 kB / 0.9633 GB, free: 1.535 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.0001967/0.8484, allocations: 154.7 kB / 0.9634 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.8485, allocations: 17.12 kB / 0.9635 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000559/0.8491, allocations: 267.9 kB / 0.9637 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.8491, allocations: 3.562 kB / 0.9637 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.8491, allocations: 0 / 0.9637 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.8491, allocations: 1.031 kB / 0.9637 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.8494, allocations: 343.2 kB / 0.964 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.8494, allocations: 0 / 0.964 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.8496, allocations: 44.52 kB / 0.9641 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.8496, allocations: 1.156 kB / 0.9641 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.8497, allocations: 13.28 kB / 0.9641 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.8497, allocations: 1.188 kB / 0.9641 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.8497, allocations: 0 / 0.9641 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000478/0.8502, allocations: 348.8 kB / 0.9644 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.292e-05/0.8502, allocations: 98.98 kB / 0.9645 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.8502, allocations: 9.469 kB / 0.9645 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.8504, allocations: 12.7 kB / 0.9645 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.132e-05/0.8505, allocations: 26.84 kB / 0.9646 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.8505, allocations: 8.953 kB / 0.9646 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.149e-05/0.8506, allocations: 132.3 kB / 0.9647 GB, free: 432 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8506, allocations: 4 kB / 0.9647 GB, free: 428 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003101/0.8509, allocations: 66.06 kB / 0.9648 GB, free: 400 kB / 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.0001331/0.851, allocations: 114.7 kB / 0.9649 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005076/0.8515, allocations: 233.7 kB / 0.9651 GB, free: 200 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8516, allocations: 0 / 0.9651 GB, free: 200 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.8518, allocations: 113.8 kB / 0.9652 GB, free: 156 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.8522, allocations: 34.09 kB / 0.9652 GB, free: 132 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009703/0.8532, allocations: 0.5905 MB / 0.9658 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.8535, allocations: 0.7624 MB / 0.9666 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001511/0.8537, allocations: 30.09 kB / 0.9666 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.059e-05/0.8537, allocations: 26.88 kB / 0.9666 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.8537, allocations: 0 / 0.9666 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of Templates: time 0.005336/0.8591, allocations: 1.684 MB / 0.9683 GB, free: 14.11 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