Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001222/0.001222, allocations: 102.1 kB / 19.7 MB, free: 2.246 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.001559/0.001559, allocations: 222.5 kB / 23.01 MB, free: 5.086 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.157/3.157, allocations: 0.49 GB / 0.7958 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002055/0.002055, allocations: 71.66 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3826, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.002822/0.3854, allocations: 1.138 MB / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001962/0.3873, allocations: 1.299 MB / 1.33 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.3875, allocations: 0 / 1.33 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.054e-05/0.3875, allocations: 19.73 kB / 1.33 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.3877, allocations: 31.67 kB / 1.33 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006033/0.3883, allocations: 190.9 kB / 1.33 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003453/0.3886, allocations: 271.9 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002197/0.3888, allocations: 80.3 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.389, allocations: 111.6 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.3892, allocations: 123.5 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.524e-05/0.3892, allocations: 28 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.725e-05/0.3893, allocations: 43.98 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.258e-05/0.3894, allocations: 55.78 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.3895, allocations: 111.5 kB / 1.331 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004439/0.3899, allocations: 326.7 kB / 1.331 GB, free: 13.67 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3899, allocations: 4 kB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.068e-06/0.3899, allocations: 3.984 kB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.39, allocations: 0 / 1.331 GB, free: 13.66 MB / 1.029 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.0009552/0.3909, allocations: 471 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3909, allocations: 12.03 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.517e-05/0.391, allocations: 28.75 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007255/0.3917, allocations: 247.8 kB / 1.332 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.3918, allocations: 20.38 kB / 1.332 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.3918, allocations: 16.38 kB / 1.332 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004915/0.3923, allocations: 224.1 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3923, allocations: 0 / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.3923, allocations: 12 kB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.3923, allocations: 4 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004885/0.3928, allocations: 156.4 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009222/0.3938, allocations: 0.597 MB / 1.333 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/0.3942, allocations: 157.1 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.3944, allocations: 81.73 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.3944, allocations: 4 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004279/0.3949, allocations: 148.9 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.3949, allocations: 0 / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.0008647/0.3957, allocations: 265.4 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.934e-05/0.3958, allocations: 81.11 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.396, allocations: 178.6 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/0.396, allocations: 33.7 kB / 1.334 GB, free: 10.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.3961, allocations: 132.5 kB / 1.334 GB, free: 10.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.3962, allocations: 51.64 kB / 1.334 GB, free: 10.58 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.3963, allocations: 53.69 kB / 1.334 GB, free: 10.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3965, allocations: 334.8 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.3967, allocations: 83.89 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/0.397, allocations: 122.4 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005213/0.3975, allocations: 210.6 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3975, allocations: 0 / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007222/0.3983, allocations: 287.1 kB / 1.335 GB, free: 9.445 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.189e-05/0.3983, allocations: 37.73 kB / 1.335 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3983, allocations: 0 / 1.335 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3983, allocations: 7.938 kB / 1.335 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.3986, allocations: 43.89 kB / 1.335 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.3986, allocations: 7.938 kB / 1.335 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.3988, allocations: 43.84 kB / 1.335 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.3989, allocations: 19.94 kB / 1.335 GB, free: 9.281 MB / 1.029 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.0001703/0.399, allocations: 135.2 kB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.3991, allocations: 15.91 kB / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.6e-05/0.3991, allocations: 17.41 kB / 1.335 GB, free: 9.105 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.3991, allocations: 7.938 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3991, allocations: 0 / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3991, allocations: 0 / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.3994, allocations: 236.6 kB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3994, allocations: 4 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.3996, allocations: 35.91 kB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3996, allocations: 0 / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.3996, allocations: 8 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.706e-06/0.3996, allocations: 3.938 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3996, allocations: 3.984 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005499/0.4002, allocations: 226 kB / 1.336 GB, free: 8.527 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.4002, allocations: 19.91 kB / 1.336 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.4002, allocations: 7.984 kB / 1.336 GB, free: 8.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.4003, allocations: 19.92 kB / 1.336 GB, free: 8.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.3e-05/0.4004, allocations: 23.97 kB / 1.336 GB, free: 8.457 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.4004, allocations: 8 kB / 1.336 GB, free: 8.449 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.481e-05/0.4005, allocations: 124.2 kB / 1.336 GB, free: 8.328 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4005, allocations: 4 kB / 1.336 GB, free: 8.324 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002644/0.4008, allocations: 43.89 kB / 1.336 GB, free: 8.281 MB / 1.029 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.0001759/0.401, allocations: 107.2 kB / 1.336 GB, free: 8.164 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006485/0.4016, allocations: 248.6 kB / 1.336 GB, free: 7.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4016, allocations: 0 / 1.336 GB, free: 7.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.4019, allocations: 83.88 kB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.4022, allocations: 33.77 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007168/0.4029, allocations: 370.5 kB / 1.337 GB, free: 7.402 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.4032, allocations: 0.7281 MB / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.096e-05/0.4033, allocations: 27.42 kB / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.4033, allocations: 0 / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of Templates: time 0.005004/0.4083, allocations: 2.535 MB / 1.34 GB, free: 4.109 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.27302997498191]