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.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.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.0009609/0.000961, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.00106/0.00106, allocations: 168.7 kB / 15.95 MB, free: 204 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.462/1.462, allocations: 223.3 MB / 240 MB, free: 5.406 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.427/2.427, allocations: 390.9 MB / 0.666 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003492, allocations: 12 kB / 0.8154 GB, free: 13.59 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8363/0.8367, allocations: 142.4 MB / 0.9545 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.001714/0.8385, allocations: 1.04 MB / 0.9555 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.8397, allocations: 1.057 MB / 0.9565 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.8399, allocations: 4.5 kB / 0.9565 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.442e-05/0.8399, allocations: 23.72 kB / 0.9566 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.8401, allocations: 18.86 kB / 0.9566 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.8403, allocations: 87.97 kB / 0.9567 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.8406, allocations: 304.8 kB / 0.957 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002726/0.8408, allocations: 145.3 kB / 0.9571 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.841, allocations: 83.73 kB / 0.9572 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.8411, allocations: 94.97 kB / 0.9573 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.847e-05/0.8411, allocations: 8.406 kB / 0.9573 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.591e-05/0.8412, allocations: 8.062 kB / 0.9573 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.601e-05/0.8412, allocations: 45.66 kB / 0.9573 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.168e-05/0.8413, allocations: 71.17 kB / 0.9574 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.8415, allocations: 354.5 kB / 0.9577 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.8415, allocations: 0 / 0.9577 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8415, allocations: 0 / 0.9577 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.8415, allocations: 0 / 0.9577 GB, free: 5.387 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.0007053/0.8423, allocations: 0.5332 MB / 0.9583 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.8423, allocations: 10.06 kB / 0.9583 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.892e-05/0.8424, allocations: 40.64 kB / 0.9583 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004746/0.8428, allocations: 324.5 kB / 0.9586 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/0.8429, allocations: 27.53 kB / 0.9586 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.663e-05/0.843, allocations: 31.72 kB / 0.9587 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005446/0.8435, allocations: 286.9 kB / 0.9589 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.8435, allocations: 0 / 0.9589 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.8436, allocations: 14.75 kB / 0.959 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.8436, allocations: 8.25 kB / 0.959 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005377/0.8441, allocations: 250.4 kB / 0.9592 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.8452, allocations: 0.8056 MB / 0.96 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004442/0.8456, allocations: 244.9 kB / 0.9602 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.8459, allocations: 118 kB / 0.9603 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.8459, allocations: 2.062 kB / 0.9603 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.8459, allocations: 32.03 kB / 0.9604 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 1.322e-06/0.8459, allocations: 0.8438 kB / 0.9604 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.000749/0.8467, allocations: 328.8 kB / 0.9607 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.8467, allocations: 54.78 kB / 0.9607 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.8469, allocations: 205.7 kB / 0.9609 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.847, allocations: 30.45 kB / 0.961 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.95e-05/0.8471, allocations: 180.5 kB / 0.9611 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.428e-05/0.8471, allocations: 84.61 kB / 0.9612 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/0.8471, allocations: 5.281 kB / 0.9612 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.235e-05/0.8472, allocations: 327.9 kB / 0.9615 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.8474, allocations: 86 kB / 0.9616 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.8477, allocations: 142.8 kB / 0.9618 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.8479, allocations: 89.58 kB / 0.9618 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8479, allocations: 5.016 kB / 0.9618 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005361/0.8484, allocations: 280 kB / 0.9621 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.8485, allocations: 5.875 kB / 0.9621 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.8485, allocations: 2.312 kB / 0.9621 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.8485, allocations: 3.688 kB / 0.9621 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/0.8488, allocations: 65.92 kB / 0.9622 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.8488, allocations: 3.719 kB / 0.9622 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.8489, allocations: 28.08 kB / 0.9622 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.8489, allocations: 8.375 kB / 0.9622 GB, free: 1.969 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 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,reaToInt2.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001298/0.8491, allocations: 152 kB / 0.9624 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.8491, allocations: 24.89 kB / 0.9624 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000536/0.8497, allocations: 255.6 kB / 0.9626 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.8497, allocations: 3.406 kB / 0.9626 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.8497, allocations: 11.94 kB / 0.9626 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.8497, allocations: 5.062 kB / 0.9627 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003498/0.8501, allocations: 347.2 kB / 0.963 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.8501, allocations: 0 / 0.963 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.8503, allocations: 40.55 kB / 0.963 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.8503, allocations: 9.375 kB / 0.963 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.8503, allocations: 5.312 kB / 0.963 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.8503, allocations: 1.188 kB / 0.963 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.8503, allocations: 0 / 0.963 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004653/0.8508, allocations: 338.4 kB / 0.9634 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.8508, allocations: 99.94 kB / 0.9635 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.8509, allocations: 11.95 kB / 0.9635 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.851, allocations: 12.78 kB / 0.9635 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/0.8511, allocations: 33.31 kB / 0.9635 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.8511, allocations: 6.25 kB / 0.9635 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.093e-05/0.8512, allocations: 136 kB / 0.9636 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8512, allocations: 0 / 0.9636 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003091/0.8515, allocations: 61.66 kB / 0.9637 GB, free: 0.8203 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 (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.0001325/0.8516, allocations: 121.5 kB / 0.9638 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004768/0.8521, allocations: 223.9 kB / 0.964 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8521, allocations: 0 / 0.964 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002444/0.8524, allocations: 120.6 kB / 0.9642 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.8527, allocations: 24.62 kB / 0.9642 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008063/0.8536, allocations: 0.5608 MB / 0.9647 GB, free: 140 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.8539, allocations: 0.7656 MB / 0.9655 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000153/0.8541, allocations: 38.47 kB / 0.9655 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.979e-05/0.8542, allocations: 26.38 kB / 0.9655 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.8542, allocations: 0 / 0.9655 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of Templates: time 0.005086/0.8592, allocations: 1.639 MB / 0.9671 GB, free: 14.58 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