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.001414/0.001414, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001616/0.001616, allocations: 216 kB / 22.26 MB, free: 5.113 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.564/1.564, allocations: 230.6 MB / 256 MB, free: 8.027 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.669/3.669, allocations: 0.5096 GB / 0.8147 GB, free: 17.27 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.002157/0.002157, allocations: 72.64 kB / 1.184 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5055/0.5076, allocations: 181.4 MB / 1.361 GB, free: 212 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.003691/0.5113, allocations: 1.141 MB / 1.363 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002526/0.5138, allocations: 1.291 MB / 1.364 GB, free: 13.75 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002448/0.5141, allocations: 0 / 1.364 GB, free: 13.75 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.5142, allocations: 23.67 kB / 1.364 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.5144, allocations: 23.73 kB / 1.364 GB, free: 13.71 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008573/0.5153, allocations: 190.5 kB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005127/0.5158, allocations: 275.9 kB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002587/0.5161, allocations: 84.28 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.5163, allocations: 107.7 kB / 1.365 GB, free: 13.06 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.5165, allocations: 123.4 kB / 1.365 GB, free: 12.94 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.225e-05/0.5165, allocations: 28 kB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.5167, allocations: 39.98 kB / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.226e-05/0.5167, allocations: 51.83 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.5169, allocations: 115.5 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005968/0.5175, allocations: 334.6 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.5175, allocations: 4 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.634e-06/0.5175, allocations: 0 / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.5175, allocations: 4 kB / 1.365 GB, free: 12.37 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.001133/0.5187, allocations: 481 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.5187, allocations: 8.031 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.43e-05/0.5188, allocations: 24.8 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007339/0.5195, allocations: 246.9 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/0.5196, allocations: 16.38 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.638e-05/0.5196, allocations: 20.38 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005056/0.5201, allocations: 224.2 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.5201, allocations: 0 / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.5202, allocations: 12 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.5202, allocations: 4 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000489/0.5207, allocations: 155.8 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009691/0.5216, allocations: 0.6086 MB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004114/0.522, allocations: 153.1 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.5223, allocations: 77.75 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.5223, allocations: 4 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004576/0.5228, allocations: 151 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.5228, allocations: 0 / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0008654/0.5236, allocations: 257.4 kB / 1.368 GB, free: 9.801 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.5237, allocations: 81.11 kB / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.5239, allocations: 179.1 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.5239, allocations: 33.64 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.5241, allocations: 136.5 kB / 1.368 GB, free: 9.344 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.647e-05/0.5241, allocations: 51.58 kB / 1.368 GB, free: 9.293 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.5242, allocations: 57.69 kB / 1.368 GB, free: 9.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.5244, allocations: 330.8 kB / 1.368 GB, free: 8.898 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.5247, allocations: 75.94 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.525, allocations: 121.1 kB / 1.369 GB, free: 8.688 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005639/0.5255, allocations: 219 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.5256, allocations: 4 kB / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007253/0.5263, allocations: 279 kB / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.053e-05/0.5263, allocations: 37.69 kB / 1.369 GB, free: 8.117 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.5263, allocations: 0 / 1.369 GB, free: 8.117 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.5264, allocations: 4 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.5266, allocations: 51.91 kB / 1.369 GB, free: 8.062 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.5266, allocations: 4 kB / 1.369 GB, free: 8.059 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.5269, allocations: 43.84 kB / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.5269, allocations: 15.98 kB / 1.369 GB, free: 8 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.0001662/0.5271, allocations: 137.8 kB / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.5271, allocations: 15.91 kB / 1.369 GB, free: 7.84 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.922e-05/0.5271, allocations: 17.41 kB / 1.369 GB, free: 7.824 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.5272, allocations: 7.938 kB / 1.369 GB, free: 7.816 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.5272, allocations: 8.234 kB / 1.369 GB, free: 7.809 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.5272, allocations: 0 / 1.369 GB, free: 7.809 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.5275, allocations: 240.5 kB / 1.37 GB, free: 7.531 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.5275, allocations: 3.984 kB / 1.37 GB, free: 7.527 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.5277, allocations: 27.98 kB / 1.37 GB, free: 7.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.5277, allocations: 7.984 kB / 1.37 GB, free: 7.492 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.5277, allocations: 4 kB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.5277, allocations: 11.88 kB / 1.37 GB, free: 7.477 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5277, allocations: 0 / 1.37 GB, free: 7.477 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005801/0.5283, allocations: 221.8 kB / 1.37 GB, free: 7.238 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.703e-05/0.5283, allocations: 15.91 kB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.5283, allocations: 4 kB / 1.37 GB, free: 7.219 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.5285, allocations: 19.92 kB / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.998e-05/0.5285, allocations: 27.95 kB / 1.37 GB, free: 7.172 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.5286, allocations: 4 kB / 1.37 GB, free: 7.168 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001175/0.5287, allocations: 120.2 kB / 1.37 GB, free: 7.051 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.5287, allocations: 0 / 1.37 GB, free: 7.051 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002915/0.529, allocations: 51.89 kB / 1.37 GB, free: 7 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.0002127/0.5292, allocations: 112.9 kB / 1.37 GB, free: 6.879 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006794/0.5299, allocations: 235.3 kB / 1.37 GB, free: 6.637 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5299, allocations: 0 / 1.37 GB, free: 6.637 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002778/0.5301, allocations: 91.8 kB / 1.371 GB, free: 6.547 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.5304, allocations: 31.92 kB / 1.371 GB, free: 6.516 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000791/0.5312, allocations: 348.8 kB / 1.371 GB, free: 6.148 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.5316, allocations: 0.7281 MB / 1.372 GB, free: 5.395 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001047/0.5317, allocations: 25.48 kB / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.947e-05/0.5318, allocations: 27.38 kB / 1.372 GB, free: 5.344 MB / 1.061 GB Notification: Performance of SimCode: time 8.12e-07/0.5318, allocations: 0 / 1.372 GB, free: 5.344 MB / 1.061 GB Notification: Performance of Templates: time 0.007011/0.5388, allocations: 2.582 MB / 1.374 GB, free: 2.82 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins/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: 10.454427835065871]