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.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.001853/0.001853, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.002524/0.002524, allocations: 217.6 kB / 23.01 MB, free: 4.566 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.552/1.552, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.263/3.263, allocations: 0.505 GB / 0.8108 GB, free: 22.05 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.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: 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.002158/0.002158, allocations: 71.77 kB / 1.178 GB, free: 16.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3769, allocations: 180.2 MB / 1.354 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002539/0.3794, allocations: 1.255 MB / 1.355 GB, free: 6.684 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002272/0.3817, allocations: 1.358 MB / 1.357 GB, free: 5.32 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.067e-05/0.3817, allocations: 0 / 1.357 GB, free: 5.32 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.203e-05/0.3817, allocations: 0 / 1.357 GB, free: 5.32 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0006981/0.3824, allocations: 211.2 kB / 1.357 GB, free: 5.113 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001378/0.3826, allocations: 34.58 kB / 1.357 GB, free: 5.082 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.573e-05/0.3826, allocations: 19.92 kB / 1.357 GB, free: 5.062 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.726e-05/0.3827, allocations: 3.984 kB / 1.357 GB, free: 5.059 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.199e-05/0.3827, allocations: 8 kB / 1.357 GB, free: 5.051 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2608/0.6436, allocations: 31.07 MB / 1.387 GB, free: 8.312 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.6436, allocations: 0 / 1.387 GB, free: 8.312 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/0.6436, allocations: 0 / 1.387 GB, free: 8.312 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.6436, allocations: 4 kB / 1.387 GB, free: 8.309 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.788e-05/0.6437, allocations: 4 kB / 1.387 GB, free: 8.305 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.6438, allocations: 15.91 kB / 1.387 GB, free: 8.289 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.6438, allocations: 0 / 1.387 GB, free: 8.289 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6438, allocations: 7.938 kB / 1.387 GB, free: 8.281 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.6438, allocations: 0 / 1.387 GB, free: 8.281 MB / 1.076 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.0003619/0.6442, allocations: 238.5 kB / 1.387 GB, free: 8.02 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.6442, allocations: 16.02 kB / 1.388 GB, free: 8.004 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.136e-05/0.6443, allocations: 76.22 kB / 1.388 GB, free: 7.93 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.6445, allocations: 177.8 kB / 1.388 GB, free: 7.73 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.464e-05/0.6445, allocations: 154.9 kB / 1.388 GB, free: 7.578 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.909e-05/0.6446, allocations: 154.9 kB / 1.388 GB, free: 7.426 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.185e-05/0.6447, allocations: 113 kB / 1.388 GB, free: 7.309 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/0.6447, allocations: 75.28 kB / 1.388 GB, free: 7.234 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.449e-05/0.6448, allocations: 154.6 kB / 1.388 GB, free: 7.082 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.747e-05/0.6449, allocations: 150.6 kB / 1.389 GB, free: 6.934 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.036e-05/0.6449, allocations: 150.6 kB / 1.389 GB, free: 6.785 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.6453, allocations: 425 kB / 1.389 GB, free: 6.328 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.6454, allocations: 169.1 kB / 1.389 GB, free: 6.152 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.385e-05/0.6454, allocations: 80.14 kB / 1.389 GB, free: 6.07 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.712e-05/0.6455, allocations: 79.28 kB / 1.389 GB, free: 5.992 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.318e-05/0.6455, allocations: 117.8 kB / 1.389 GB, free: 5.867 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.6455, allocations: 0 / 1.389 GB, free: 5.867 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 9.153e-05/0.6456, allocations: 33.66 kB / 1.39 GB, free: 5.828 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.6458, allocations: 211.8 kB / 1.39 GB, free: 5.59 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.6459, allocations: 101.7 kB / 1.39 GB, free: 5.48 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.6459, allocations: 25.7 kB / 1.39 GB, free: 5.449 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.785e-05/0.646, allocations: 84.14 kB / 1.39 GB, free: 5.363 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-06/0.646, allocations: 4 kB / 1.39 GB, free: 5.359 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.646, allocations: 13.72 kB / 1.39 GB, free: 5.34 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.6462, allocations: 314.8 kB / 1.39 GB, free: 5.023 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.542e-06/0.6462, allocations: 0 / 1.39 GB, free: 5.023 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.959e-05/0.6462, allocations: 18.58 kB / 1.39 GB, free: 4.996 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.862e-05/0.6462, allocations: 79.28 kB / 1.39 GB, free: 4.918 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.756e-05/0.6463, allocations: 75.28 kB / 1.39 GB, free: 4.844 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.656e-05/0.6463, allocations: 37.64 kB / 1.39 GB, free: 4.801 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.864e-05/0.6464, allocations: 83.28 kB / 1.391 GB, free: 4.719 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.67e-05/0.6464, allocations: 79.22 kB / 1.391 GB, free: 4.641 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.288e-05/0.6465, allocations: 154.5 kB / 1.391 GB, free: 4.488 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.488e-05/0.6465, allocations: 79.22 kB / 1.391 GB, free: 4.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.728e-05/0.6466, allocations: 154.5 kB / 1.391 GB, free: 4.258 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.6468, allocations: 83.28 kB / 1.391 GB, free: 4.176 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/0.6468, allocations: 83.22 kB / 1.391 GB, free: 4.094 MB / 1.076 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.0001598/0.647, allocations: 269 kB / 1.391 GB, free: 3.82 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.588e-05/0.6471, allocations: 108.9 kB / 1.391 GB, free: 3.707 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.108e-05/0.6471, allocations: 108.1 kB / 1.392 GB, free: 3.594 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.608e-05/0.6472, allocations: 180.3 kB / 1.392 GB, free: 3.41 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-05/0.6473, allocations: 184.3 kB / 1.392 GB, free: 3.223 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.511e-05/0.6474, allocations: 188.2 kB / 1.392 GB, free: 3.031 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.6476, allocations: 368.3 kB / 1.392 GB, free: 2.621 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.226e-05/0.6477, allocations: 112.9 kB / 1.393 GB, free: 2.504 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.529e-05/0.6477, allocations: 108.9 kB / 1.393 GB, free: 2.391 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.541e-05/0.6478, allocations: 180.3 kB / 1.393 GB, free: 2.207 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.082e-05/0.6479, allocations: 180.2 kB / 1.393 GB, free: 2.023 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.801e-05/0.6479, allocations: 180.3 kB / 1.393 GB, free: 1.84 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.373e-05/0.648, allocations: 180.2 kB / 1.393 GB, free: 1.656 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.6482, allocations: 312 kB / 1.394 GB, free: 1.328 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.6483, allocations: 108.9 kB / 1.394 GB, free: 1.215 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.661e-05/0.6483, allocations: 180.3 kB / 1.394 GB, free: 1.031 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.6485, allocations: 112.9 kB / 1.394 GB, free: 0.9141 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.627e-05/0.6486, allocations: 180.3 kB / 1.394 GB, free: 0.7305 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.094e-05/0.6486, allocations: 108.9 kB / 1.394 GB, free: 0.6172 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.342e-05/0.6487, allocations: 83.28 kB / 1.394 GB, free: 0.5352 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.6487, allocations: 0 / 1.394 GB, free: 0.5352 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002548/0.6489, allocations: 4 kB / 1.394 GB, free: 0.5312 MB / 1.076 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.0001678/0.6491, allocations: 170.5 kB / 1.395 GB, free: 360 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 5.767e-05/0.6492, allocations: 4 kB / 1.395 GB, free: 356 kB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.6492, allocations: 7.938 kB / 1.395 GB, free: 348 kB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.6492, allocations: 0 / 1.395 GB, free: 348 kB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.6496, allocations: 455.7 kB / 1.395 GB, free: 15.89 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.6499, allocations: 194.6 kB / 1.395 GB, free: 15.67 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.6502, allocations: 0.6729 MB / 1.396 GB, free: 14.97 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.638e-05/0.6502, allocations: 11.44 kB / 1.396 GB, free: 14.96 MB / 1.092 GB Notification: Performance of SimCode: time 1.002e-06/0.6502, allocations: 0 / 1.396 GB, free: 14.96 MB / 1.092 GB Notification: Performance of Templates: time 0.004368/0.6546, allocations: 472 kB / 1.396 GB, free: 14.5 MB / 1.092 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/jenkins1/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: 11.895704852009658]