Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001599/0.001599, allocations: 110 kB / 19.7 MB, free: 2.25 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.001806/0.001806, allocations: 218 kB / 23.01 MB, free: 5.086 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.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.698/2.698, allocations: 476.8 MB / 0.7714 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_11_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_11_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.002009/0.002009, allocations: 68.66 kB / 1.119 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3519, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002423/0.3543, allocations: 1.257 MB / 1.286 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002082/0.3564, allocations: 1.357 MB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.415e-05/0.3564, allocations: 0 / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.993e-05/0.3564, allocations: 3.938 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007124/0.3571, allocations: 211.3 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001057/0.3572, allocations: 35.88 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.627e-05/0.3573, allocations: 27.86 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/0.3573, allocations: 0 / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.159e-05/0.3574, allocations: 8 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2531/0.6105, allocations: 31.06 MB / 1.318 GB, free: 11.8 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.6105, allocations: 0 / 1.318 GB, free: 11.8 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-06/0.6105, allocations: 0 / 1.318 GB, free: 11.8 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.6105, allocations: 4 kB / 1.318 GB, free: 11.8 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.6106, allocations: 7.938 kB / 1.318 GB, free: 11.79 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.6107, allocations: 19.91 kB / 1.318 GB, free: 11.77 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6107, allocations: 0 / 1.318 GB, free: 11.77 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6107, allocations: 3.938 kB / 1.318 GB, free: 11.77 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.6107, allocations: 0 / 1.318 GB, free: 11.77 MB / 1.014 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.0003214/0.6111, allocations: 250.4 kB / 1.318 GB, free: 11.5 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.6111, allocations: 8.031 kB / 1.318 GB, free: 11.49 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.982e-05/0.6112, allocations: 76.22 kB / 1.318 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.6113, allocations: 185.8 kB / 1.318 GB, free: 11.21 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.165e-05/0.6114, allocations: 150.9 kB / 1.318 GB, free: 11.06 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-05/0.6114, allocations: 150.9 kB / 1.319 GB, free: 10.91 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.529e-05/0.6115, allocations: 109.1 kB / 1.319 GB, free: 10.8 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/0.6115, allocations: 79.28 kB / 1.319 GB, free: 10.72 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.438e-05/0.6116, allocations: 154.6 kB / 1.319 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.233e-05/0.6117, allocations: 150.6 kB / 1.319 GB, free: 10.42 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.854e-05/0.6117, allocations: 150.6 kB / 1.319 GB, free: 10.27 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.6121, allocations: 429 kB / 1.32 GB, free: 9.809 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.174e-05/0.6122, allocations: 165.2 kB / 1.32 GB, free: 9.637 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.439e-05/0.6122, allocations: 84.14 kB / 1.32 GB, free: 9.551 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.6122, allocations: 75.28 kB / 1.32 GB, free: 9.477 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.322e-05/0.6123, allocations: 113.8 kB / 1.32 GB, free: 9.355 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.6123, allocations: 0 / 1.32 GB, free: 9.355 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 9.082e-05/0.6124, allocations: 37.64 kB / 1.32 GB, free: 9.312 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.6125, allocations: 207.8 kB / 1.32 GB, free: 9.078 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.6126, allocations: 97.84 kB / 1.32 GB, free: 8.973 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.6126, allocations: 29.64 kB / 1.32 GB, free: 8.938 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.6127, allocations: 88.14 kB / 1.32 GB, free: 8.848 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.6127, allocations: 0 / 1.32 GB, free: 8.848 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.6127, allocations: 21.7 kB / 1.32 GB, free: 8.82 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.6129, allocations: 310.8 kB / 1.321 GB, free: 8.508 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.339e-06/0.6129, allocations: 0 / 1.321 GB, free: 8.508 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.216e-05/0.6129, allocations: 18.58 kB / 1.321 GB, free: 8.48 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.456e-05/0.6129, allocations: 75.28 kB / 1.321 GB, free: 8.406 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.635e-05/0.613, allocations: 79.28 kB / 1.321 GB, free: 8.328 MB / 1.014 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.738e-05/0.613, allocations: 41.58 kB / 1.321 GB, free: 8.281 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/0.6131, allocations: 91.17 kB / 1.321 GB, free: 8.191 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.644e-05/0.6131, allocations: 75.36 kB / 1.321 GB, free: 8.117 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.166e-05/0.6132, allocations: 158.6 kB / 1.321 GB, free: 7.961 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.441e-05/0.6132, allocations: 79.22 kB / 1.321 GB, free: 7.883 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.732e-05/0.6133, allocations: 150.6 kB / 1.322 GB, free: 7.734 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.6135, allocations: 83.22 kB / 1.322 GB, free: 7.652 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.6135, allocations: 79.28 kB / 1.322 GB, free: 7.574 MB / 1.014 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.0001438/0.6136, allocations: 268.4 kB / 1.322 GB, free: 7.301 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.082e-05/0.6137, allocations: 112.8 kB / 1.322 GB, free: 7.184 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.673e-05/0.6138, allocations: 104.1 kB / 1.322 GB, free: 7.078 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.553e-05/0.6138, allocations: 184.2 kB / 1.322 GB, free: 6.891 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.475e-05/0.6139, allocations: 188.2 kB / 1.322 GB, free: 6.699 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.409e-05/0.614, allocations: 180.3 kB / 1.323 GB, free: 6.516 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.6142, allocations: 376.2 kB / 1.323 GB, free: 6.098 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.185e-05/0.6143, allocations: 105 kB / 1.323 GB, free: 5.988 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.757e-05/0.6143, allocations: 108.9 kB / 1.323 GB, free: 5.875 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.649e-05/0.6144, allocations: 184.2 kB / 1.323 GB, free: 5.688 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.055e-05/0.6145, allocations: 180.3 kB / 1.324 GB, free: 5.504 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.211e-05/0.6145, allocations: 180.2 kB / 1.324 GB, free: 5.32 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.268e-05/0.6146, allocations: 180.2 kB / 1.324 GB, free: 5.137 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.6148, allocations: 303.8 kB / 1.324 GB, free: 4.816 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.6148, allocations: 112.9 kB / 1.324 GB, free: 4.699 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.847e-05/0.6149, allocations: 184.2 kB / 1.324 GB, free: 4.512 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.6151, allocations: 105 kB / 1.325 GB, free: 4.402 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.99e-05/0.6151, allocations: 180.3 kB / 1.325 GB, free: 4.219 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/0.6152, allocations: 108.9 kB / 1.325 GB, free: 4.105 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.916e-05/0.6152, allocations: 83.2 kB / 1.325 GB, free: 4.023 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6152, allocations: 4 kB / 1.325 GB, free: 4.02 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002682/0.6155, allocations: 4 kB / 1.325 GB, free: 4.016 MB / 1.014 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.0001497/0.6157, allocations: 170.5 kB / 1.325 GB, free: 3.836 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 5.319e-05/0.6157, allocations: 0 / 1.325 GB, free: 3.836 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6157, allocations: 0 / 1.325 GB, free: 3.836 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.087e-06/0.6157, allocations: 4 kB / 1.325 GB, free: 3.832 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.6161, allocations: 463.6 kB / 1.326 GB, free: 3.375 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/0.6164, allocations: 190.6 kB / 1.326 GB, free: 3.156 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.6167, allocations: 0.6729 MB / 1.326 GB, free: 2.457 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.356e-05/0.6168, allocations: 7.438 kB / 1.326 GB, free: 2.449 MB / 1.014 GB Notification: Performance of SimCode: time 4.61e-07/0.6168, allocations: 0 / 1.326 GB, free: 2.449 MB / 1.014 GB Notification: Performance of Templates: time 0.003991/0.6207, allocations: 476.3 kB / 1.327 GB, free: 1.984 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.97222546901321]