Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 112.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 190.3 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.117/3.117, allocations: 496 MB / 0.7835 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.58 kB / 1.138 GB, free: 33.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3859, allocations: 173.6 MB / 1.307 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002916/0.3888, allocations: 1.247 MB / 1.308 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002628/0.3914, allocations: 1.356 MB / 1.31 GB, free: 15.23 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.227e-05/0.3914, allocations: 0 / 1.31 GB, free: 15.23 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.318e-05/0.3915, allocations: 0 / 1.31 GB, free: 15.23 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0008852/0.3923, allocations: 207.3 kB / 1.31 GB, free: 15.03 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.3925, allocations: 39.88 kB / 1.31 GB, free: 14.99 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.263e-05/0.3926, allocations: 12 kB / 1.31 GB, free: 14.98 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.662e-05/0.3926, allocations: 11.94 kB / 1.31 GB, free: 14.97 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.9e-05/0.3927, allocations: 7.984 kB / 1.31 GB, free: 14.96 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.269/0.6617, allocations: 31.07 MB / 1.34 GB, free: 2.398 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.6617, allocations: 0 / 1.34 GB, free: 2.398 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/0.6617, allocations: 0 / 1.34 GB, free: 2.398 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/0.6617, allocations: 4 kB / 1.34 GB, free: 2.395 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.6618, allocations: 3.938 kB / 1.34 GB, free: 2.391 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.6619, allocations: 15.92 kB / 1.34 GB, free: 2.375 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.6619, allocations: 4 kB / 1.34 GB, free: 2.371 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6619, allocations: 4 kB / 1.34 GB, free: 2.367 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.6619, allocations: 3.984 kB / 1.34 GB, free: 2.363 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003864/0.6623, allocations: 238.5 kB / 1.341 GB, free: 2.102 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.6624, allocations: 8.922 kB / 1.341 GB, free: 2.094 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.362e-05/0.6624, allocations: 76.22 kB / 1.341 GB, free: 2.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.6626, allocations: 189.8 kB / 1.341 GB, free: 1.809 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.061e-05/0.6627, allocations: 150.9 kB / 1.341 GB, free: 1.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.643e-05/0.6628, allocations: 154.9 kB / 1.341 GB, free: 1.508 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.313e-05/0.6629, allocations: 113 kB / 1.341 GB, free: 1.391 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.013e-05/0.6629, allocations: 75.28 kB / 1.341 GB, free: 1.316 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.177e-05/0.663, allocations: 154.6 kB / 1.342 GB, free: 1.164 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.977e-05/0.6631, allocations: 150.6 kB / 1.342 GB, free: 1.016 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.071e-05/0.6631, allocations: 158.5 kB / 1.342 GB, free: 0.8594 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.6635, allocations: 417 kB / 1.342 GB, free: 420 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.6636, allocations: 177.1 kB / 1.342 GB, free: 232 kB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.321e-05/0.6636, allocations: 80.14 kB / 1.343 GB, free: 148 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.054e-05/0.6637, allocations: 75.28 kB / 1.343 GB, free: 72 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.256e-05/0.6638, allocations: 113.8 kB / 1.343 GB, free: 15.95 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.6638, allocations: 0 / 1.343 GB, free: 15.95 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 9.901e-05/0.6639, allocations: 33.7 kB / 1.343 GB, free: 15.91 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.664, allocations: 203.8 kB / 1.343 GB, free: 15.68 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.6641, allocations: 101.8 kB / 1.343 GB, free: 15.57 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.6641, allocations: 25.7 kB / 1.343 GB, free: 15.54 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.6642, allocations: 84.08 kB / 1.343 GB, free: 15.45 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.6642, allocations: 4 kB / 1.343 GB, free: 15.45 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.6642, allocations: 17.72 kB / 1.343 GB, free: 15.43 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.6644, allocations: 314.8 kB / 1.343 GB, free: 15.11 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.821e-06/0.6644, allocations: 0 / 1.343 GB, free: 15.11 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.611e-05/0.6644, allocations: 18.56 kB / 1.343 GB, free: 15.08 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.843e-05/0.6645, allocations: 79.28 kB / 1.344 GB, free: 15 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.484e-05/0.6645, allocations: 75.28 kB / 1.344 GB, free: 14.93 MB / 1.045 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.523e-05/0.6646, allocations: 41.58 kB / 1.344 GB, free: 14.88 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.505e-05/0.6646, allocations: 79.28 kB / 1.344 GB, free: 14.8 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.064e-05/0.6646, allocations: 79.22 kB / 1.344 GB, free: 14.73 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.593e-05/0.6647, allocations: 154.6 kB / 1.344 GB, free: 14.57 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.25e-05/0.6648, allocations: 87.2 kB / 1.344 GB, free: 14.49 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-05/0.6648, allocations: 150.6 kB / 1.344 GB, free: 14.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.665, allocations: 83.28 kB / 1.344 GB, free: 14.26 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/0.665, allocations: 83.2 kB / 1.344 GB, free: 14.18 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001505/0.6652, allocations: 264.3 kB / 1.345 GB, free: 13.91 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.566e-05/0.6653, allocations: 112.9 kB / 1.345 GB, free: 13.79 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.036e-05/0.6653, allocations: 108.1 kB / 1.345 GB, free: 13.68 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-05/0.6654, allocations: 192.3 kB / 1.345 GB, free: 13.48 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.192e-05/0.6655, allocations: 176.3 kB / 1.345 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.969e-05/0.6656, allocations: 180.4 kB / 1.345 GB, free: 13.12 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.6658, allocations: 376.3 kB / 1.346 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-05/0.6659, allocations: 104.9 kB / 1.346 GB, free: 12.59 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.979e-05/0.6659, allocations: 108.9 kB / 1.346 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.427e-05/0.666, allocations: 188.2 kB / 1.346 GB, free: 12.29 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.6661, allocations: 188.2 kB / 1.346 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.355e-05/0.6662, allocations: 176.3 kB / 1.346 GB, free: 11.91 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.531e-05/0.6663, allocations: 180.2 kB / 1.347 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.6665, allocations: 307.8 kB / 1.347 GB, free: 11.41 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.807e-05/0.6665, allocations: 112.9 kB / 1.347 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.6667, allocations: 176.3 kB / 1.347 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.6668, allocations: 112.9 kB / 1.347 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.505e-05/0.6669, allocations: 176.3 kB / 1.347 GB, free: 10.81 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-05/0.667, allocations: 105 kB / 1.348 GB, free: 10.7 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.653e-05/0.667, allocations: 91.22 kB / 1.348 GB, free: 10.61 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.667, allocations: 0 / 1.348 GB, free: 10.61 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003129/0.6673, allocations: 4 kB / 1.348 GB, free: 10.61 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001669/0.6675, allocations: 174.5 kB / 1.348 GB, free: 10.43 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 6.483e-05/0.6676, allocations: 0 / 1.348 GB, free: 10.43 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6676, allocations: 0 / 1.348 GB, free: 10.43 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.6676, allocations: 0 / 1.348 GB, free: 10.43 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.668, allocations: 463.7 kB / 1.348 GB, free: 9.969 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.6683, allocations: 156.8 kB / 1.348 GB, free: 9.789 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.6687, allocations: 0.6806 MB / 1.349 GB, free: 9.082 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.374e-05/0.6687, allocations: 4 kB / 1.349 GB, free: 9.078 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.544e-05/0.6687, allocations: 11.44 kB / 1.349 GB, free: 9.066 MB / 1.045 GB Notification: Performance of SimCode: time 7.01e-07/0.6687, allocations: 0 / 1.349 GB, free: 9.066 MB / 1.045 GB Notification: Performance of Templates: time 0.005412/0.6741, allocations: 0.4889 MB / 1.35 GB, free: 8.578 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.2204655604437]