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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002387/0.002387, allocations: 217 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.612/1.612, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.261/3.261, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 63.56 kB / 1.187 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3764, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.002776/0.3792, allocations: 1.078 MB / 1.366 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001858/0.381, allocations: 1.268 MB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.3811, allocations: 4 kB / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.612e-05/0.3812, allocations: 19.73 kB / 1.367 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.3813, allocations: 27.69 kB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006049/0.3819, allocations: 194.5 kB / 1.367 GB, free: 11.01 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003434/0.3823, allocations: 275.9 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.3825, allocations: 81.38 kB / 1.368 GB, free: 10.65 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.3826, allocations: 103.7 kB / 1.368 GB, free: 10.55 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.3828, allocations: 107.5 kB / 1.368 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.477e-05/0.3829, allocations: 28 kB / 1.368 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.779e-05/0.383, allocations: 35.98 kB / 1.368 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.383, allocations: 51.83 kB / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.3831, allocations: 95.58 kB / 1.368 GB, free: 10.24 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004643/0.3836, allocations: 334.7 kB / 1.368 GB, free: 9.91 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3836, allocations: 0 / 1.368 GB, free: 9.91 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3836, allocations: 0 / 1.368 GB, free: 9.91 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.3836, allocations: 4 kB / 1.368 GB, free: 9.906 MB / 1.061 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.0009634/0.3846, allocations: 478.9 kB / 1.369 GB, free: 9.402 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.3846, allocations: 11.97 kB / 1.369 GB, free: 9.391 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.929e-05/0.3847, allocations: 28.8 kB / 1.369 GB, free: 9.363 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000758/0.3855, allocations: 242.9 kB / 1.369 GB, free: 9.098 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/0.3855, allocations: 20.38 kB / 1.369 GB, free: 9.078 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.815e-05/0.3855, allocations: 20.38 kB / 1.369 GB, free: 9.059 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005135/0.3861, allocations: 212.2 kB / 1.369 GB, free: 8.84 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3861, allocations: 0 / 1.369 GB, free: 8.84 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.3861, allocations: 4 kB / 1.369 GB, free: 8.836 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3861, allocations: 4 kB / 1.369 GB, free: 8.832 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005314/0.3866, allocations: 163.8 kB / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.3876, allocations: 0.5273 MB / 1.37 GB, free: 8.109 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004119/0.3881, allocations: 141.2 kB / 1.37 GB, free: 7.953 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/0.3883, allocations: 81.69 kB / 1.37 GB, free: 7.867 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.3883, allocations: 8.094 kB / 1.37 GB, free: 7.859 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004383/0.3888, allocations: 148.8 kB / 1.37 GB, free: 7.695 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.854e-06/0.3888, allocations: 8 kB / 1.37 GB, free: 7.688 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0009078/0.3897, allocations: 253.4 kB / 1.37 GB, free: 7.434 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.3898, allocations: 81.11 kB / 1.371 GB, free: 7.336 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.3899, allocations: 174.7 kB / 1.371 GB, free: 7.156 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.39, allocations: 33.7 kB / 1.371 GB, free: 7.117 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.3901, allocations: 144.5 kB / 1.371 GB, free: 6.973 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.15e-05/0.3901, allocations: 51.58 kB / 1.371 GB, free: 6.922 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.3902, allocations: 57.69 kB / 1.371 GB, free: 6.859 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3904, allocations: 326.8 kB / 1.371 GB, free: 6.531 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/0.3908, allocations: 121.6 kB / 1.371 GB, free: 6.406 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/0.3911, allocations: 151 kB / 1.372 GB, free: 6.234 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005573/0.3917, allocations: 206.7 kB / 1.372 GB, free: 6.008 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.3917, allocations: 4 kB / 1.372 GB, free: 6.004 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007844/0.3925, allocations: 316.7 kB / 1.372 GB, free: 5.676 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/0.3925, allocations: 40.52 kB / 1.372 GB, free: 5.633 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.3925, allocations: 4 kB / 1.372 GB, free: 5.629 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3925, allocations: 0 / 1.372 GB, free: 5.629 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.3928, allocations: 43.89 kB / 1.372 GB, free: 5.586 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.3928, allocations: 4.062 kB / 1.372 GB, free: 5.582 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.393, allocations: 51.84 kB / 1.372 GB, free: 5.531 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.3931, allocations: 8 kB / 1.372 GB, free: 5.523 MB / 1.061 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.0001563/0.3932, allocations: 141.8 kB / 1.372 GB, free: 5.375 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.3933, allocations: 11.91 kB / 1.372 GB, free: 5.363 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.496e-05/0.3933, allocations: 21.41 kB / 1.372 GB, free: 5.34 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3933, allocations: 4 kB / 1.372 GB, free: 5.336 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.3933, allocations: 7.938 kB / 1.372 GB, free: 5.328 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3933, allocations: 0 / 1.372 GB, free: 5.328 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.3936, allocations: 185.1 kB / 1.373 GB, free: 5.117 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3936, allocations: 4 kB / 1.373 GB, free: 5.113 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.3937, allocations: 27.97 kB / 1.373 GB, free: 5.086 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3937, allocations: 0 / 1.373 GB, free: 5.086 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.3938, allocations: 11.98 kB / 1.373 GB, free: 5.074 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3938, allocations: 0 / 1.373 GB, free: 5.074 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3938, allocations: 0 / 1.373 GB, free: 5.074 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000594/0.3944, allocations: 229.7 kB / 1.373 GB, free: 4.828 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.914e-05/0.3944, allocations: 19.89 kB / 1.373 GB, free: 4.809 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.3944, allocations: 4 kB / 1.373 GB, free: 4.805 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.3946, allocations: 15.98 kB / 1.373 GB, free: 4.789 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.97e-05/0.3946, allocations: 23.91 kB / 1.373 GB, free: 4.766 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.3946, allocations: 11.98 kB / 1.373 GB, free: 4.754 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000116/0.3948, allocations: 123.2 kB / 1.373 GB, free: 4.633 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3948, allocations: 3.938 kB / 1.373 GB, free: 4.629 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002739/0.395, allocations: 47.89 kB / 1.373 GB, free: 4.582 MB / 1.061 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.0001705/0.3952, allocations: 111.7 kB / 1.373 GB, free: 4.461 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007241/0.3959, allocations: 276.9 kB / 1.373 GB, free: 4.172 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3959, allocations: 0 / 1.373 GB, free: 4.172 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002893/0.3962, allocations: 79.88 kB / 1.374 GB, free: 4.094 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.3965, allocations: 35.64 kB / 1.374 GB, free: 4.062 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007756/0.3973, allocations: 382.6 kB / 1.374 GB, free: 3.656 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.3974, allocations: 116.9 kB / 1.374 GB, free: 3.523 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.317e-05/0.3975, allocations: 23.44 kB / 1.374 GB, free: 3.5 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.3975, allocations: 0 / 1.374 GB, free: 3.5 MB / 1.061 GB Notification: Performance of Templates: time 0.006013/0.4035, allocations: 2.587 MB / 1.377 GB, free: 0.9336 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.440295301843435]