Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002012/0.002012, allocations: 113.9 kB / 18.94 MB, free: 2.789 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.002485/0.002485, allocations: 190.2 kB / 22.23 MB, free: 5.227 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.603/1.603, 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-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.244/3.244, allocations: 0.4893 GB / 0.7884 GB, free: 33.19 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 63.61 kB / 1.145 GB, free: 30.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4043, allocations: 174.9 MB / 1.316 GB, free: 9.711 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.003195/0.4074, allocations: 1.239 MB / 1.317 GB, free: 8.461 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002781/0.4102, allocations: 1.357 MB / 1.319 GB, free: 7.098 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.008e-05/0.4103, allocations: 0 / 1.319 GB, free: 7.098 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.4103, allocations: 0 / 1.319 GB, free: 7.098 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0009636/0.4112, allocations: 203.3 kB / 1.319 GB, free: 6.898 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.4114, allocations: 55.36 kB / 1.319 GB, free: 6.848 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.232e-05/0.4115, allocations: 12 kB / 1.319 GB, free: 6.836 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.562e-05/0.4115, allocations: 3.984 kB / 1.319 GB, free: 6.832 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.489e-05/0.4115, allocations: 4 kB / 1.319 GB, free: 6.828 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2537/0.6652, allocations: 31.07 MB / 1.349 GB, free: 10.4 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.6652, allocations: 0 / 1.349 GB, free: 10.4 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.296e-05/0.6652, allocations: 3.844 kB / 1.349 GB, free: 10.4 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.6653, allocations: 4 kB / 1.349 GB, free: 10.4 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.6653, allocations: 4 kB / 1.349 GB, free: 10.39 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.6654, allocations: 19.91 kB / 1.349 GB, free: 10.38 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6654, allocations: 4 kB / 1.349 GB, free: 10.37 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6654, allocations: 3.938 kB / 1.349 GB, free: 10.37 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.6654, allocations: 0 / 1.349 GB, free: 10.37 MB / 1.045 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.0003341/0.6658, allocations: 244.5 kB / 1.349 GB, free: 10.1 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.6658, allocations: 12.02 kB / 1.349 GB, free: 10.09 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.952e-05/0.6659, allocations: 80.17 kB / 1.35 GB, free: 10.01 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.6661, allocations: 181.8 kB / 1.35 GB, free: 9.809 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.333e-05/0.6661, allocations: 154.9 kB / 1.35 GB, free: 9.656 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.01e-05/0.6662, allocations: 150.9 kB / 1.35 GB, free: 9.508 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.19e-05/0.6663, allocations: 113.1 kB / 1.35 GB, free: 9.391 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.6663, allocations: 75.28 kB / 1.35 GB, free: 9.316 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.549e-05/0.6664, allocations: 162.5 kB / 1.35 GB, free: 9.156 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.692e-05/0.6665, allocations: 150.6 kB / 1.35 GB, free: 9.008 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.038e-05/0.6666, allocations: 154.6 kB / 1.351 GB, free: 8.855 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.667, allocations: 417 kB / 1.351 GB, free: 8.406 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.6671, allocations: 169.1 kB / 1.351 GB, free: 8.23 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.319e-05/0.6671, allocations: 80.14 kB / 1.351 GB, free: 8.148 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.022e-05/0.6672, allocations: 83.22 kB / 1.351 GB, free: 8.066 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.198e-05/0.6672, allocations: 109.8 kB / 1.351 GB, free: 7.949 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.6672, allocations: 0 / 1.351 GB, free: 7.949 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.404e-05/0.6673, allocations: 33.7 kB / 1.351 GB, free: 7.91 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.6674, allocations: 211.8 kB / 1.352 GB, free: 7.672 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.6676, allocations: 93.86 kB / 1.352 GB, free: 7.57 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.6676, allocations: 29.7 kB / 1.352 GB, free: 7.535 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.6676, allocations: 80.14 kB / 1.352 GB, free: 7.453 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.6676, allocations: 4 kB / 1.352 GB, free: 7.449 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.6677, allocations: 13.72 kB / 1.352 GB, free: 7.43 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.6678, allocations: 318.8 kB / 1.352 GB, free: 7.109 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.077e-06/0.6678, allocations: 0 / 1.352 GB, free: 7.109 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.762e-05/0.6679, allocations: 18.52 kB / 1.352 GB, free: 7.082 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.658e-05/0.6679, allocations: 83.28 kB / 1.352 GB, free: 7 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.18e-05/0.6679, allocations: 75.28 kB / 1.352 GB, free: 6.926 MB / 1.045 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.103e-05/0.668, allocations: 33.64 kB / 1.352 GB, free: 6.887 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.265e-05/0.668, allocations: 79.28 kB / 1.352 GB, free: 6.809 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-05/0.6681, allocations: 83.27 kB / 1.353 GB, free: 6.727 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.52e-05/0.6682, allocations: 154.5 kB / 1.353 GB, free: 6.574 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.217e-05/0.6682, allocations: 79.28 kB / 1.353 GB, free: 6.496 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-05/0.6683, allocations: 162.4 kB / 1.353 GB, free: 6.336 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.6684, allocations: 79.28 kB / 1.353 GB, free: 6.258 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.6685, allocations: 75.28 kB / 1.353 GB, free: 6.184 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.0001552/0.6686, allocations: 268.3 kB / 1.353 GB, free: 5.91 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.341e-05/0.6687, allocations: 108.9 kB / 1.353 GB, free: 5.797 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.453e-05/0.6688, allocations: 108.1 kB / 1.354 GB, free: 5.68 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.475e-05/0.6689, allocations: 188.2 kB / 1.354 GB, free: 5.488 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001577/0.669, allocations: 176.3 kB / 1.354 GB, free: 5.309 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.69e-05/0.6691, allocations: 188.1 kB / 1.354 GB, free: 5.117 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.6694, allocations: 372.3 kB / 1.354 GB, free: 4.703 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.146e-05/0.6694, allocations: 101 kB / 1.354 GB, free: 4.598 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.378e-05/0.6695, allocations: 120.8 kB / 1.355 GB, free: 4.473 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.089e-05/0.6696, allocations: 184.3 kB / 1.355 GB, free: 4.285 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.6697, allocations: 180.2 kB / 1.355 GB, free: 4.102 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.83e-05/0.6698, allocations: 180.2 kB / 1.355 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.947e-05/0.6698, allocations: 176.3 kB / 1.355 GB, free: 3.738 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.67, allocations: 311.8 kB / 1.356 GB, free: 3.41 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-05/0.6701, allocations: 112.9 kB / 1.356 GB, free: 3.293 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.882e-05/0.6702, allocations: 176.3 kB / 1.356 GB, free: 3.113 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.6704, allocations: 109 kB / 1.356 GB, free: 3 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.204e-05/0.6704, allocations: 184.2 kB / 1.356 GB, free: 2.812 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-05/0.6705, allocations: 109 kB / 1.356 GB, free: 2.699 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.889e-05/0.6706, allocations: 79.52 kB / 1.356 GB, free: 2.621 MB / 1.045 GB Notification: Performance of sort global known variables: time 5e-08/0.6706, allocations: 0 / 1.356 GB, free: 2.621 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002618/0.6708, allocations: 4 kB / 1.356 GB, free: 2.617 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.0001622/0.671, allocations: 174.7 kB / 1.356 GB, free: 2.434 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 5.386e-05/0.671, allocations: 3.938 kB / 1.356 GB, free: 2.43 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.671, allocations: 4 kB / 1.357 GB, free: 2.426 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.671, allocations: 0 / 1.357 GB, free: 2.426 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.6715, allocations: 463.6 kB / 1.357 GB, free: 1.969 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002927/0.6717, allocations: 164.8 kB / 1.357 GB, free: 1.781 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.6721, allocations: 0.6768 MB / 1.358 GB, free: 1.078 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.965e-05/0.6721, allocations: 11.98 kB / 1.358 GB, free: 1.066 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.485e-05/0.6721, allocations: 7.438 kB / 1.358 GB, free: 1.059 MB / 1.045 GB Notification: Performance of SimCode: time 4.41e-07/0.6721, allocations: 0 / 1.358 GB, free: 1.059 MB / 1.045 GB Notification: Performance of Templates: time 0.004542/0.6767, allocations: 0.4966 MB / 1.358 GB, free: 0.5625 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.489370827563107]