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.001629/0.001629, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001668/0.001668, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.48/1.48, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.623/2.623, allocations: 437.1 MB / 0.7111 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 71.47 kB / 0.87 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3688, allocations: 151.6 MB / 1.018 GB, free: 10.58 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002984/0.3718, allocations: 1.433 MB / 1.019 GB, free: 9.145 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.3735, allocations: 1.085 MB / 1.02 GB, free: 8.047 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.3736, allocations: 4 kB / 1.021 GB, free: 8.043 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.225e-05/0.3737, allocations: 39.47 kB / 1.021 GB, free: 8.004 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.3739, allocations: 39.59 kB / 1.021 GB, free: 7.965 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.3743, allocations: 119.8 kB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003365/0.3746, allocations: 336.6 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004046/0.375, allocations: 205.9 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.3752, allocations: 135.5 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.3754, allocations: 151.2 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.059e-05/0.3755, allocations: 40 kB / 1.022 GB, free: 6.996 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 4.913e-05/0.3755, allocations: 39.94 kB / 1.022 GB, free: 6.957 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.539e-05/0.3756, allocations: 79.75 kB / 1.022 GB, free: 6.879 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.3758, allocations: 155.1 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004904/0.3763, allocations: 450.8 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.3763, allocations: 0 / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3763, allocations: 3.938 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.3763, allocations: 0 / 1.022 GB, free: 6.281 MB / 0.795 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.0009225/0.3772, allocations: 0.5848 MB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3773, allocations: 8.922 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.529e-05/0.3774, allocations: 44.47 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005578/0.3779, allocations: 317.1 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/0.378, allocations: 25.03 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/0.378, allocations: 32.38 kB / 1.023 GB, free: 5.188 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005656/0.3786, allocations: 290.5 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.3786, allocations: 192 / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.3787, allocations: 19.94 kB / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.3787, allocations: 8 kB / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005415/0.3792, allocations: 234.4 kB / 1.024 GB, free: 4.641 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.3804, allocations: 0.8153 MB / 1.025 GB, free: 3.773 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004961/0.381, allocations: 228.1 kB / 1.025 GB, free: 3.543 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.3812, allocations: 112.7 kB / 1.025 GB, free: 3.43 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.13e-05/0.3813, allocations: 15.98 kB / 1.025 GB, free: 3.414 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.3813, allocations: 30.56 kB / 1.025 GB, free: 3.375 MB / 0.795 GB Notification: Performance of pre-optimization done (n=26): time 1.833e-06/0.3813, allocations: 0 / 1.025 GB, free: 3.375 MB / 0.795 GB Notification: Performance of matching and sorting (n=26): time 0.0007813/0.3821, allocations: 303.7 kB / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.3822, allocations: 59.34 kB / 1.025 GB, free: 3.004 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.3824, allocations: 204.8 kB / 1.025 GB, free: 2.793 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.3824, allocations: 29.7 kB / 1.025 GB, free: 2.758 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.3825, allocations: 180.1 kB / 1.026 GB, free: 2.578 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.711e-05/0.3826, allocations: 82.84 kB / 1.026 GB, free: 2.496 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.3827, allocations: 61.97 kB / 1.026 GB, free: 2.43 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3829, allocations: 326.8 kB / 1.026 GB, free: 2.102 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.3831, allocations: 76.52 kB / 1.026 GB, free: 2.027 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.3834, allocations: 148.4 kB / 1.026 GB, free: 1.859 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004506/0.3839, allocations: 220.8 kB / 1.027 GB, free: 1.621 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3839, allocations: 0 / 1.027 GB, free: 1.621 MB / 0.795 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005582/0.3844, allocations: 275.9 kB / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.3845, allocations: 8 kB / 1.027 GB, free: 1.34 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3845, allocations: 0 / 1.027 GB, free: 1.34 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3845, allocations: 4 kB / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.3848, allocations: 55.84 kB / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.3848, allocations: 4.219 kB / 1.027 GB, free: 1.277 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.3849, allocations: 31.77 kB / 1.027 GB, free: 1.246 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.385, allocations: 12 kB / 1.027 GB, free: 1.234 MB / 0.795 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.000159/0.3851, allocations: 145.8 kB / 1.027 GB, free: 1.082 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.591e-05/0.3852, allocations: 23.72 kB / 1.027 GB, free: 1.059 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005771/0.3858, allocations: 247.5 kB / 1.027 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.3858, allocations: 7.938 kB / 1.027 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.3858, allocations: 0 / 1.027 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3858, allocations: 3.984 kB / 1.027 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004047/0.3862, allocations: 349.3 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3862, allocations: 0 / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.3864, allocations: 35.97 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.3864, allocations: 4 kB / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.3865, allocations: 15.88 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.3865, allocations: 3.938 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3865, allocations: 0 / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005489/0.387, allocations: 329.8 kB / 1.028 GB, free: 16 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.265e-05/0.3871, allocations: 96.77 kB / 1.028 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.3872, allocations: 4 kB / 1.028 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.3873, allocations: 19.92 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.3874, allocations: 27.97 kB / 1.028 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.3874, allocations: 4 kB / 1.028 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001138/0.3875, allocations: 140.5 kB / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.894e-06/0.3875, allocations: 0 / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003089/0.3879, allocations: 59.72 kB / 1.028 GB, free: 15.65 MB / 0.8106 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.000144/0.388, allocations: 111.2 kB / 1.028 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005676/0.3886, allocations: 229.7 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3886, allocations: 0 / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002411/0.3888, allocations: 111.8 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.3892, allocations: 26.41 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008853/0.3901, allocations: 0.492 MB / 1.029 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.3905, allocations: 0.7636 MB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.37e-05/0.3906, allocations: 27.44 kB / 1.03 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of SimCode: time 6.41e-07/0.3906, allocations: 0 / 1.03 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of Templates: time 0.005347/0.3959, allocations: 2.996 MB / 1.033 GB, free: 10.85 MB / 0.8106 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/jenkins1/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