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.001636/0.001636, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002032/0.002032, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.58/1.58, allocations: 230.6 MB / 256 MB, free: 7.793 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.351/3.351, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] 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.002174/0.002174, allocations: 68.41 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3817, allocations: 176.1 MB / 1.326 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.002599/0.3843, allocations: 1.07 MB / 1.327 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001949/0.3863, allocations: 1.272 MB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.3864, allocations: 4 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.167e-05/0.3864, allocations: 23.67 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.3865, allocations: 31.67 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005753/0.3871, allocations: 189.9 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000347/0.3875, allocations: 271.9 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.3877, allocations: 76.3 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.3878, allocations: 107.6 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.388, allocations: 107.5 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.572e-05/0.3881, allocations: 28 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.183e-05/0.3882, allocations: 40 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.625e-05/0.3882, allocations: 47.83 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.3883, allocations: 107.6 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004363/0.3888, allocations: 326.7 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3888, allocations: 0 / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3888, allocations: 0 / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.3888, allocations: 0 / 1.329 GB, free: 14.15 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.0009705/0.3897, allocations: 475 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3898, allocations: 12.03 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.593e-05/0.3899, allocations: 28.75 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007758/0.3906, allocations: 246.9 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/0.3907, allocations: 12.38 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.3907, allocations: 24.38 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005006/0.3912, allocations: 220.1 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3912, allocations: 4 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.3913, allocations: 7.938 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.3913, allocations: 4 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000508/0.3918, allocations: 156.4 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009081/0.3927, allocations: 0.5195 MB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.3931, allocations: 145.1 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/0.3934, allocations: 77.75 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.3934, allocations: 4 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004277/0.3939, allocations: 159.3 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.3939, allocations: 0 / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.0008766/0.3947, allocations: 265.4 kB / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.3948, allocations: 77.11 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.395, allocations: 174.7 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/0.395, allocations: 29.7 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.3951, allocations: 136.5 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.091e-05/0.3952, allocations: 47.64 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.3953, allocations: 65.62 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.3954, allocations: 326.8 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/0.3958, allocations: 109.6 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003377/0.3961, allocations: 164.5 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005568/0.3966, allocations: 214.6 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3966, allocations: 0 / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007587/0.3974, allocations: 317.2 kB / 1.333 GB, free: 9.922 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.679e-05/0.3975, allocations: 37.7 kB / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.3975, allocations: 0 / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.3975, allocations: 8.438 kB / 1.333 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.3977, allocations: 31.97 kB / 1.333 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.3977, allocations: 7.875 kB / 1.333 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.398, allocations: 59.83 kB / 1.333 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.398, allocations: 8 kB / 1.333 GB, free: 9.766 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.0001406/0.3982, allocations: 133.8 kB / 1.333 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.3982, allocations: 19.89 kB / 1.333 GB, free: 9.605 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.771e-05/0.3983, allocations: 25.34 kB / 1.333 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3983, allocations: 0 / 1.333 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.3983, allocations: 3.938 kB / 1.333 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3983, allocations: 4 kB / 1.333 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.3985, allocations: 181.2 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3985, allocations: 0 / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.3987, allocations: 31.91 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.3987, allocations: 4 kB / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.3988, allocations: 8 kB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.3988, allocations: 3.984 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3988, allocations: 4 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005878/0.3994, allocations: 225.7 kB / 1.334 GB, free: 9.066 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.523e-05/0.3994, allocations: 19.91 kB / 1.334 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.3994, allocations: 7.984 kB / 1.334 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.3995, allocations: 19.98 kB / 1.334 GB, free: 9.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.58e-05/0.3996, allocations: 23.91 kB / 1.334 GB, free: 8.996 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.3997, allocations: 11.98 kB / 1.334 GB, free: 8.984 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001057/0.3998, allocations: 120.2 kB / 1.334 GB, free: 8.867 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3998, allocations: 4 kB / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002938/0.4001, allocations: 47.84 kB / 1.334 GB, free: 8.816 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.0002251/0.4003, allocations: 111.2 kB / 1.334 GB, free: 8.695 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007498/0.401, allocations: 280.7 kB / 1.334 GB, free: 8.402 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.401, allocations: 0 / 1.334 GB, free: 8.402 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002846/0.4013, allocations: 79.88 kB / 1.334 GB, free: 8.324 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.4016, allocations: 37.98 kB / 1.334 GB, free: 8.289 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008739/0.4025, allocations: 344.9 kB / 1.335 GB, free: 7.926 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.4026, allocations: 124.9 kB / 1.335 GB, free: 7.785 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001217/0.4028, allocations: 21.48 kB / 1.335 GB, free: 7.766 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.011e-05/0.4028, allocations: 19.44 kB / 1.335 GB, free: 7.75 MB / 1.029 GB Notification: Performance of SimCode: time 7.02e-07/0.4028, allocations: 0 / 1.335 GB, free: 7.75 MB / 1.029 GB Notification: Performance of Templates: time 0.007349/0.4102, allocations: 2.757 MB / 1.338 GB, free: 5.074 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/jenkins/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: 9.672513168305159]