Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.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_10_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_10_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.001957/0.001957, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00223/0.00223, allocations: 195.2 kB / 16.26 MB, free: 6.621 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.621/1.621, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.037/3.037, allocations: 437 MB / 0.7101 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 67.89 kB / 0.8688 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8453/0.8473, allocations: 151.6 MB / 1.017 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003451/0.8508, allocations: 1.482 MB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.8524, allocations: 1.073 MB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.8526, allocations: 4 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.75e-05/0.8527, allocations: 19.8 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.8529, allocations: 19.78 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003404/0.8532, allocations: 108 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003633/0.8536, allocations: 336.6 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000414/0.854, allocations: 213.9 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.8543, allocations: 127.5 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.8545, allocations: 143.3 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.014e-05/0.8545, allocations: 40 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.243e-05/0.8546, allocations: 40 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.419e-05/0.8547, allocations: 83.73 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.8548, allocations: 159.1 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004967/0.8553, allocations: 456.5 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.307e-05/0.8554, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.314e-06/0.8554, allocations: 7.875 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.8554, allocations: 0 / 1.021 GB, free: 14.4 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0009751/0.8564, allocations: 0.5771 MB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.8564, allocations: 12.03 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.493e-05/0.8565, allocations: 32.56 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007324/0.8572, allocations: 324.9 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/0.8573, allocations: 33.03 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.709e-05/0.8574, allocations: 32.38 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006106/0.858, allocations: 286.6 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.858, allocations: 192 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.092e-05/0.8581, allocations: 11.94 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.8581, allocations: 8 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005396/0.8586, allocations: 238.4 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.8599, allocations: 0.8153 MB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005001/0.8605, allocations: 230.8 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/0.8607, allocations: 116.7 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.8608, allocations: 4 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.8608, allocations: 38.55 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.422e-06/0.8608, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.000778/0.8616, allocations: 291.1 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.8617, allocations: 55.34 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.8619, allocations: 212.6 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.862, allocations: 33.7 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.8621, allocations: 172.2 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.062e-05/0.8622, allocations: 82.78 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.8623, allocations: 65.91 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000211/0.8625, allocations: 338.8 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.8627, allocations: 72.52 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.863, allocations: 139.9 kB / 1.025 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004482/0.8635, allocations: 222.6 kB / 1.025 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8635, allocations: 0 / 1.025 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000556/0.864, allocations: 273.1 kB / 1.026 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.8641, allocations: 4 kB / 1.026 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.8641, allocations: 4 kB / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.8641, allocations: 7.938 kB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.8644, allocations: 51.84 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/0.8644, allocations: 11.92 kB / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.8645, allocations: 28.06 kB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.8646, allocations: 12 kB / 1.026 GB, free: 9.363 MB / 0.7794 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.0001659/0.8647, allocations: 154.3 kB / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.8648, allocations: 19.72 kB / 1.026 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005716/0.8654, allocations: 253.1 kB / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.8654, allocations: 7.938 kB / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.8654, allocations: 0 / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.8654, allocations: 0 / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004301/0.8658, allocations: 341.4 kB / 1.026 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.8658, allocations: 0 / 1.026 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.866, allocations: 43.91 kB / 1.026 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.8661, allocations: 0 / 1.026 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.8661, allocations: 4 kB / 1.026 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.8661, allocations: 11.94 kB / 1.026 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.8661, allocations: 3.984 kB / 1.026 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005652/0.8667, allocations: 325.7 kB / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.93e-05/0.8668, allocations: 100.8 kB / 1.027 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.8668, allocations: 8 kB / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.867, allocations: 19.92 kB / 1.027 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9e-05/0.867, allocations: 23.97 kB / 1.027 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.8671, allocations: 8 kB / 1.027 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001289/0.8672, allocations: 140.5 kB / 1.027 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.873e-06/0.8672, allocations: 0 / 1.027 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003002/0.8675, allocations: 63.62 kB / 1.027 GB, free: 7.773 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: 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.0001645/0.8677, allocations: 112.8 kB / 1.027 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006286/0.8683, allocations: 229.2 kB / 1.027 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.8683, allocations: 0 / 1.027 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003321/0.8687, allocations: 107.9 kB / 1.028 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005577/0.8692, allocations: 30.47 kB / 1.028 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.8706, allocations: 0.5865 MB / 1.028 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005754/0.8712, allocations: 0.7558 MB / 1.029 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002324/0.8714, allocations: 34.28 kB / 1.029 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.8715, allocations: 31.36 kB / 1.029 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.8715, allocations: 0 / 1.029 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of Templates: time 0.00799/0.8795, allocations: 1.77 MB / 1.031 GB, free: 4.117 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches