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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00101/0.00101, allocations: 86.56 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.001129/0.001129, 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.5/1.5, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.762/2.762, allocations: 437.8 MB / 0.7117 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004155/0.0004156, allocations: 8 kB / 0.8723 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8597/0.8601, allocations: 153.8 MB / 1.022 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.00217/0.8624, allocations: 1.035 MB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.864, allocations: 1.057 MB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.8641, allocations: 4 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.852e-05/0.8641, allocations: 23.78 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.8643, allocations: 27.78 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.8645, allocations: 75.94 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.8648, allocations: 300.7 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002969/0.8651, allocations: 157.3 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.8653, allocations: 79.53 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.8654, allocations: 99.39 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.8655, allocations: 8 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.283e-05/0.8655, allocations: 12 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.786e-05/0.8656, allocations: 43.78 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.757e-05/0.8656, allocations: 69.52 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.8659, allocations: 353 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.8659, allocations: 0 / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.509e-06/0.866, allocations: 4 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.866, allocations: 0 / 1.026 GB, free: 12.66 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.0007546/0.8667, allocations: 0.5262 MB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.8668, allocations: 12.5 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.468e-05/0.8668, allocations: 35.62 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005165/0.8674, allocations: 327.8 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.8674, allocations: 32.66 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/0.8675, allocations: 28 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005141/0.868, allocations: 290 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.868, allocations: 0 / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.868, allocations: 16 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.8681, allocations: 8 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004854/0.8685, allocations: 242.5 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.8697, allocations: 0.8114 MB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004397/0.8701, allocations: 230.7 kB / 1.028 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.8704, allocations: 120.8 kB / 1.028 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.8704, allocations: 11.97 kB / 1.028 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.8704, allocations: 38.56 kB / 1.028 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.292e-06/0.8704, allocations: 3.938 kB / 1.028 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.0006966/0.8711, allocations: 315.5 kB / 1.029 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.8712, allocations: 55.41 kB / 1.029 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.8714, allocations: 215.6 kB / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.8714, allocations: 33.7 kB / 1.029 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.8715, allocations: 172.2 kB / 1.029 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.767e-05/0.8716, allocations: 78.84 kB / 1.029 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.381e-05/0.8716, allocations: 8 kB / 1.029 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.8717, allocations: 330.8 kB / 1.029 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.8719, allocations: 80.52 kB / 1.03 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.8722, allocations: 147.9 kB / 1.03 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.8724, allocations: 95.19 kB / 1.03 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.8724, allocations: 0 / 1.03 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004989/0.8729, allocations: 281.1 kB / 1.03 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.8729, allocations: 7.938 kB / 1.03 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.8729, allocations: 4 kB / 1.03 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.8729, allocations: 4.219 kB / 1.03 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.8732, allocations: 59.91 kB / 1.03 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.8732, allocations: 4 kB / 1.03 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.8733, allocations: 27.83 kB / 1.03 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.8734, allocations: 11.95 kB / 1.03 GB, free: 7.828 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.0001472/0.8735, allocations: 161.8 kB / 1.03 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/0.8736, allocations: 23.66 kB / 1.03 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005304/0.8741, allocations: 257.4 kB / 1.031 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.8741, allocations: 4 kB / 1.031 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.8741, allocations: 3.984 kB / 1.031 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.8741, allocations: 7.922 kB / 1.031 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003531/0.8745, allocations: 341.3 kB / 1.031 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.8745, allocations: 0 / 1.031 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.8747, allocations: 47.97 kB / 1.031 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.8747, allocations: 4 kB / 1.031 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.8747, allocations: 4 kB / 1.031 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.8747, allocations: 4 kB / 1.031 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.8747, allocations: 4 kB / 1.031 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004757/0.8752, allocations: 341.7 kB / 1.031 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.233e-05/0.8753, allocations: 100.8 kB / 1.031 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.8753, allocations: 4 kB / 1.031 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.8754, allocations: 15.98 kB / 1.031 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.983e-05/0.8755, allocations: 23.97 kB / 1.031 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.8755, allocations: 11.98 kB / 1.031 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.668e-05/0.8756, allocations: 132.2 kB / 1.032 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8757, allocations: 0 / 1.032 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002873/0.8759, allocations: 59.78 kB / 1.032 GB, free: 6.215 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.0001411/0.8761, allocations: 118.6 kB / 1.032 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004773/0.8766, allocations: 224.1 kB / 1.032 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8766, allocations: 0 / 1.032 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.8768, allocations: 113.2 kB / 1.032 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.8772, allocations: 33.56 kB / 1.032 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008378/0.878, allocations: 0.5673 MB / 1.033 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.8784, allocations: 0.7637 MB / 1.033 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001438/0.8785, allocations: 34.22 kB / 1.033 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.469e-05/0.8786, allocations: 23.44 kB / 1.033 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8786, allocations: 0 / 1.033 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of Templates: time 0.004752/0.8834, allocations: 1.633 MB / 1.035 GB, free: 2.695 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=480 -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