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.001818/0.001818, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.002287/0.002287, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.785 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.824/2.824, allocations: 475.9 MB / 0.7699 GB, free: 4.773 MB / 0.6231 GB " [Timeout remaining time 176] 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.002101/0.002101, allocations: 64.97 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3666, allocations: 170 MB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002666/0.3693, allocations: 1.262 MB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002369/0.3716, allocations: 1.319 MB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.224e-05/0.3716, allocations: 4 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.812e-05/0.3717, allocations: 0 / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008233/0.3725, allocations: 211.2 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001087/0.3726, allocations: 39.89 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.285e-05/0.3727, allocations: 19.97 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.8e-05/0.3727, allocations: 3.938 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.355e-05/0.3727, allocations: 4 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2641/0.6368, allocations: 31.06 MB / 1.316 GB, free: 12.56 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.6369, allocations: 4 kB / 1.316 GB, free: 12.55 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.464e-05/0.6369, allocations: 0 / 1.316 GB, free: 12.55 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.6369, allocations: 0 / 1.316 GB, free: 12.55 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.6369, allocations: 15.92 kB / 1.316 GB, free: 12.54 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.6371, allocations: 11.92 kB / 1.316 GB, free: 12.53 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.6371, allocations: 0 / 1.316 GB, free: 12.53 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.178e-06/0.6371, allocations: 4 kB / 1.316 GB, free: 12.52 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.6371, allocations: 0 / 1.316 GB, free: 12.52 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.0003617/0.6375, allocations: 242.4 kB / 1.316 GB, free: 12.26 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.6375, allocations: 8.031 kB / 1.316 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.358e-05/0.6376, allocations: 76.22 kB / 1.316 GB, free: 12.18 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.6378, allocations: 189.8 kB / 1.317 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.428e-05/0.6378, allocations: 150.9 kB / 1.317 GB, free: 11.82 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-05/0.6379, allocations: 150.9 kB / 1.317 GB, free: 11.67 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.169e-05/0.638, allocations: 113 kB / 1.317 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.94e-05/0.638, allocations: 75.28 kB / 1.317 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.851e-05/0.6381, allocations: 154.6 kB / 1.317 GB, free: 11.32 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.785e-05/0.6382, allocations: 150.6 kB / 1.317 GB, free: 11.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.081e-05/0.6383, allocations: 154.6 kB / 1.318 GB, free: 11.02 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.6386, allocations: 393.6 kB / 1.318 GB, free: 10.61 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.6387, allocations: 177.1 kB / 1.318 GB, free: 10.43 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.903e-05/0.6387, allocations: 88.19 kB / 1.318 GB, free: 10.34 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.639e-05/0.6388, allocations: 75.28 kB / 1.318 GB, free: 10.26 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.152e-05/0.6388, allocations: 109.8 kB / 1.318 GB, free: 10.14 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.6388, allocations: 0 / 1.318 GB, free: 10.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 9.792e-05/0.6389, allocations: 33.58 kB / 1.318 GB, free: 10.11 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/0.6391, allocations: 207.8 kB / 1.319 GB, free: 9.871 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.6392, allocations: 101.8 kB / 1.319 GB, free: 9.762 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.6392, allocations: 29.7 kB / 1.319 GB, free: 9.727 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.6393, allocations: 84.08 kB / 1.319 GB, free: 9.641 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.6393, allocations: 0 / 1.319 GB, free: 9.641 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.6393, allocations: 21.66 kB / 1.319 GB, free: 9.613 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.6395, allocations: 314.8 kB / 1.319 GB, free: 9.297 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.229e-06/0.6395, allocations: 0 / 1.319 GB, free: 9.297 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.357e-05/0.6396, allocations: 99.67 kB / 1.319 GB, free: 9.172 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.936e-05/0.6396, allocations: 79.28 kB / 1.319 GB, free: 9.094 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.8e-05/0.6396, allocations: 75.28 kB / 1.319 GB, free: 9.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.562e-05/0.6397, allocations: 29.7 kB / 1.319 GB, free: 8.984 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.022e-05/0.6398, allocations: 83.22 kB / 1.319 GB, free: 8.902 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-05/0.6398, allocations: 83.3 kB / 1.32 GB, free: 8.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.059e-05/0.6399, allocations: 158.6 kB / 1.32 GB, free: 8.664 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.571e-05/0.6399, allocations: 79.22 kB / 1.32 GB, free: 8.586 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.329e-05/0.64, allocations: 158.5 kB / 1.32 GB, free: 8.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.6402, allocations: 83.28 kB / 1.32 GB, free: 8.348 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.6402, allocations: 79.22 kB / 1.32 GB, free: 8.27 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.0001587/0.6404, allocations: 265.5 kB / 1.32 GB, free: 8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.435e-05/0.6404, allocations: 108.9 kB / 1.32 GB, free: 7.887 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.931e-05/0.6405, allocations: 112.1 kB / 1.321 GB, free: 7.773 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.277e-05/0.6406, allocations: 176.3 kB / 1.321 GB, free: 7.594 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.243e-05/0.6407, allocations: 180.3 kB / 1.321 GB, free: 7.41 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.914e-05/0.6407, allocations: 180.2 kB / 1.321 GB, free: 7.227 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.641, allocations: 360.9 kB / 1.321 GB, free: 6.836 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-05/0.641, allocations: 108.9 kB / 1.322 GB, free: 6.723 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.342e-05/0.6411, allocations: 101 kB / 1.322 GB, free: 6.617 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-05/0.6412, allocations: 180.3 kB / 1.322 GB, free: 6.434 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.968e-05/0.6413, allocations: 192.1 kB / 1.322 GB, free: 6.238 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.216e-05/0.6414, allocations: 176.3 kB / 1.322 GB, free: 6.059 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.311e-05/0.6414, allocations: 184.2 kB / 1.322 GB, free: 5.871 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.6416, allocations: 303.8 kB / 1.323 GB, free: 5.551 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.598e-05/0.6417, allocations: 112.9 kB / 1.323 GB, free: 5.434 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.6418, allocations: 180.2 kB / 1.323 GB, free: 5.25 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.6419, allocations: 112.9 kB / 1.323 GB, free: 5.133 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.454e-05/0.642, allocations: 184.2 kB / 1.323 GB, free: 4.945 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-05/0.6421, allocations: 105 kB / 1.323 GB, free: 4.836 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.558e-05/0.6421, allocations: 83.22 kB / 1.323 GB, free: 4.754 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.6421, allocations: 0 / 1.323 GB, free: 4.754 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002629/0.6424, allocations: 4 kB / 1.323 GB, free: 4.75 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.0001677/0.6425, allocations: 174.5 kB / 1.324 GB, free: 4.566 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 6.957e-05/0.6426, allocations: 4 kB / 1.324 GB, free: 4.562 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6426, allocations: 0 / 1.324 GB, free: 4.562 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.6426, allocations: 0 / 1.324 GB, free: 4.562 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008953/0.6435, allocations: 467.7 kB / 1.324 GB, free: 4.102 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.6438, allocations: 156.9 kB / 1.324 GB, free: 3.922 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.776e-05/0.6439, allocations: 59.3 kB / 1.324 GB, free: 3.844 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.506e-05/0.6439, allocations: 4 kB / 1.324 GB, free: 3.84 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.466e-05/0.644, allocations: 7.438 kB / 1.324 GB, free: 3.832 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/0.644, allocations: 0 / 1.324 GB, free: 3.832 MB / 1.014 GB Notification: Performance of Templates: time 0.005033/0.649, allocations: 0.5384 MB / 1.325 GB, free: 3.305 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/jenkins/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: 9.426751973107457]