Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001145/0.001146, allocations: 100 kB / 15.05 MB, free: 1.105 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.001256/0.001257, allocations: 177.3 kB / 15.95 MB, free: 216 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.475/1.475, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.823/2.823, allocations: 436.5 MB / 0.7104 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003666, allocations: 8 kB / 0.8708 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8413/0.8416, allocations: 153.7 MB / 1.021 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.001616/0.8433, allocations: 1.047 MB / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.8446, allocations: 1.061 MB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.8447, allocations: 4 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.469e-05/0.8448, allocations: 19.78 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.8449, allocations: 31.89 kB / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.8451, allocations: 79.86 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.8453, allocations: 185 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002653/0.8456, allocations: 157.3 kB / 1.023 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.8458, allocations: 83.56 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.8459, allocations: 91.41 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.8459, allocations: 8 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.576e-05/0.8459, allocations: 12 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.745e-05/0.846, allocations: 39.78 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.846, allocations: 69.52 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.8463, allocations: 364.9 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.8464, allocations: 0 / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8464, allocations: 0 / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.8464, allocations: 4 kB / 1.024 GB, free: 13.84 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.0007251/0.8471, allocations: 0.5146 MB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.8472, allocations: 15.98 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.786e-05/0.8473, allocations: 35.53 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006028/0.8479, allocations: 335.7 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.91e-05/0.8479, allocations: 28.66 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/0.848, allocations: 31.95 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/0.8486, allocations: 294 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.8486, allocations: 3.984 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/0.8486, allocations: 12 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.8487, allocations: 8 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000528/0.8492, allocations: 238.4 kB / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.8504, allocations: 0.8154 MB / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.8509, allocations: 238.7 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.8509, allocations: 4.438 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.851, allocations: 38.56 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.433e-06/0.851, allocations: 0 / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.0007717/0.8517, allocations: 327.4 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.8518, allocations: 51.41 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.852, allocations: 215.6 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.852, allocations: 33.7 kB / 1.027 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.8521, allocations: 172.2 kB / 1.027 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/0.8522, allocations: 86.83 kB / 1.027 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/0.8522, allocations: 4 kB / 1.027 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.8523, allocations: 330.8 kB / 1.028 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.8525, allocations: 80.52 kB / 1.028 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.8528, allocations: 143.9 kB / 1.028 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.853, allocations: 95.19 kB / 1.028 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.853, allocations: 0 / 1.028 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004899/0.8535, allocations: 273.1 kB / 1.028 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.8535, allocations: 7.984 kB / 1.028 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.8535, allocations: 4 kB / 1.028 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.8536, allocations: 7.938 kB / 1.028 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.8538, allocations: 60.12 kB / 1.028 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.8538, allocations: 4 kB / 1.028 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.854, allocations: 27.83 kB / 1.028 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.854, allocations: 11.95 kB / 1.028 GB, free: 9.125 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 (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.0001536/0.8541, allocations: 153.8 kB / 1.029 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.8542, allocations: 23.72 kB / 1.029 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005259/0.8547, allocations: 259.1 kB / 1.029 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.8547, allocations: 8 kB / 1.029 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.8548, allocations: 0 / 1.029 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.8548, allocations: 3.984 kB / 1.029 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003498/0.8551, allocations: 345.3 kB / 1.029 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8551, allocations: 0 / 1.029 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.8553, allocations: 47.91 kB / 1.029 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.8553, allocations: 4 kB / 1.029 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.8554, allocations: 4 kB / 1.029 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.8554, allocations: 0 / 1.029 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8554, allocations: 8 kB / 1.029 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004952/0.8559, allocations: 335.5 kB / 1.03 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.676e-05/0.856, allocations: 100.9 kB / 1.03 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.856, allocations: 11.88 kB / 1.03 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.8561, allocations: 15.98 kB / 1.03 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/0.8562, allocations: 23.97 kB / 1.03 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.8562, allocations: 4 kB / 1.03 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001041/0.8563, allocations: 141.5 kB / 1.03 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8563, allocations: 0 / 1.03 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002993/0.8566, allocations: 59.69 kB / 1.03 GB, free: 7.512 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 (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.0001444/0.8568, allocations: 119.2 kB / 1.03 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004707/0.8573, allocations: 216.2 kB / 1.03 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.8573, allocations: 0 / 1.03 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002138/0.8575, allocations: 123.3 kB / 1.03 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.8578, allocations: 19.95 kB / 1.03 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008379/0.8586, allocations: 0.5649 MB / 1.031 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.859, allocations: 0.7676 MB / 1.032 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001385/0.8591, allocations: 34.28 kB / 1.032 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.373e-05/0.8592, allocations: 23.42 kB / 1.032 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of SimCode: time 3.81e-07/0.8592, allocations: 0 / 1.032 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of Templates: time 0.00471/0.8639, allocations: 1.631 MB / 1.033 GB, free: 4.004 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches