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.Overrides.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 105.6 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.001922/0.001922, 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.406/1.406, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.631/2.631, allocations: 469.4 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 63.69 kB / 0.9089 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3592, allocations: 159.1 MB / 1.064 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.002963/0.3623, allocations: 1.123 MB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001709/0.364, allocations: 1.256 MB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.3641, allocations: 4 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.06e-05/0.3642, allocations: 23.67 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.3643, allocations: 27.72 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005478/0.3649, allocations: 184.6 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.3652, allocations: 283.8 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002324/0.3654, allocations: 107.8 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.3656, allocations: 107.6 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.3657, allocations: 119.5 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.845e-05/0.3658, allocations: 24 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.48e-05/0.3659, allocations: 43.98 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.056e-05/0.366, allocations: 47.84 kB / 1.068 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.3661, allocations: 115.4 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003481/0.3664, allocations: 315.2 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3664, allocations: 0 / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.657e-06/0.3664, allocations: 0 / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3665, allocations: 7.938 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0009472/0.3674, allocations: 0.5355 MB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.3675, allocations: 12.62 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.483e-05/0.3675, allocations: 20.75 kB / 1.069 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00076/0.3683, allocations: 316.5 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.3683, allocations: 16.38 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.049e-05/0.3684, allocations: 20.38 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004767/0.3689, allocations: 215.5 kB / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3689, allocations: 4 kB / 1.069 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.3689, allocations: 8 kB / 1.069 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3689, allocations: 7.938 kB / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004909/0.3694, allocations: 155.8 kB / 1.069 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000864/0.3703, allocations: 0.6523 MB / 1.07 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003908/0.3707, allocations: 149.1 kB / 1.07 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.371, allocations: 81.77 kB / 1.07 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.371, allocations: 0 / 1.07 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004587/0.3715, allocations: 153 kB / 1.07 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=17): time 1.323e-06/0.3715, allocations: 0 / 1.07 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17): time 0.0008562/0.3723, allocations: 253.3 kB / 1.07 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.3724, allocations: 85.09 kB / 1.071 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.3726, allocations: 179.5 kB / 1.071 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.3726, allocations: 25.7 kB / 1.071 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.3727, allocations: 144.2 kB / 1.071 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.483e-05/0.3728, allocations: 47.3 kB / 1.071 GB, free: 7.871 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.3729, allocations: 61.62 kB / 1.071 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.373, allocations: 322.8 kB / 1.071 GB, free: 7.48 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/0.3733, allocations: 83.92 kB / 1.071 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002948/0.3736, allocations: 125.1 kB / 1.071 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005169/0.3741, allocations: 210.6 kB / 1.072 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3741, allocations: 0 / 1.072 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007128/0.3748, allocations: 283 kB / 1.072 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/0.3749, allocations: 41.62 kB / 1.072 GB, free: 6.691 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.3749, allocations: 0 / 1.072 GB, free: 6.691 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.3749, allocations: 0 / 1.072 GB, free: 6.691 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.3752, allocations: 43.84 kB / 1.072 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.3752, allocations: 128 / 1.072 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.3755, allocations: 55.8 kB / 1.072 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.3755, allocations: 11.98 kB / 1.072 GB, free: 6.582 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,heaOff.y,$PRE.heaOff.y,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,ove.conInt4.y,ove.conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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.0001364/0.3757, allocations: 139.7 kB / 1.072 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.3757, allocations: 15.81 kB / 1.072 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.263e-05/0.3757, allocations: 21.39 kB / 1.072 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.3758, allocations: 12.19 kB / 1.072 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3758, allocations: 0 / 1.072 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3758, allocations: 0 / 1.072 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.376, allocations: 269.5 kB / 1.073 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3761, allocations: 4 kB / 1.073 GB, free: 6.078 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.3763, allocations: 27.97 kB / 1.073 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3763, allocations: 0 / 1.073 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.3763, allocations: 8 kB / 1.073 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.3763, allocations: 3.938 kB / 1.073 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3763, allocations: 7.938 kB / 1.073 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005643/0.3769, allocations: 221.6 kB / 1.073 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/0.3769, allocations: 96.84 kB / 1.073 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.377, allocations: 8 kB / 1.073 GB, free: 5.672 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.3771, allocations: 15.92 kB / 1.073 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.219e-05/0.3772, allocations: 23.97 kB / 1.073 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.3772, allocations: 11.98 kB / 1.073 GB, free: 5.621 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.738e-05/0.3773, allocations: 115.2 kB / 1.073 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3773, allocations: 0 / 1.073 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002587/0.3776, allocations: 51.84 kB / 1.073 GB, free: 5.457 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,heaOff.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001858/0.3778, allocations: 107.2 kB / 1.073 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006685/0.3784, allocations: 263.7 kB / 1.073 GB, free: 5.07 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3785, allocations: 3.938 kB / 1.073 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002767/0.3787, allocations: 96.34 kB / 1.074 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.379, allocations: 26.08 kB / 1.074 GB, free: 4.949 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006535/0.3797, allocations: 370.4 kB / 1.074 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.38, allocations: 0.7319 MB / 1.075 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.674e-05/0.3801, allocations: 19.44 kB / 1.075 GB, free: 3.773 MB / 0.8419 GB Notification: Performance of SimCode: time 3.2e-07/0.3801, allocations: 0 / 1.075 GB, free: 3.773 MB / 0.8419 GB Notification: Performance of Templates: time 0.004525/0.3846, allocations: 2.506 MB / 1.077 GB, free: 1.289 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches