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.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.001828/0.001828, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.00152/0.00152, allocations: 196.4 kB / 22.17 MB, free: 5.656 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.47/1.47, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.77/2.77, allocations: 476.7 MB / 0.7645 GB, free: 10.13 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.002974/0.002974, allocations: 67.89 kB / 1.109 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8023/0.8052, allocations: 168.7 MB / 1.274 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002421/0.8076, allocations: 1.248 MB / 1.275 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002266/0.8099, allocations: 1.355 MB / 1.277 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.069e-05/0.8099, allocations: 0 / 1.277 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.978e-05/0.81, allocations: 0 / 1.277 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0007297/0.8107, allocations: 210.4 kB / 1.277 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000138/0.8108, allocations: 31.95 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.734e-05/0.8109, allocations: 19.91 kB / 1.277 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.8109, allocations: 4 kB / 1.277 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.196e-05/0.8109, allocations: 4 kB / 1.277 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2609/1.072, allocations: 31.04 MB / 1.307 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/1.072, allocations: 0 / 1.307 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/1.072, allocations: 0 / 1.307 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/1.072, allocations: 11.92 kB / 1.307 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/1.072, allocations: 0 / 1.307 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/1.072, allocations: 7.984 kB / 1.307 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.072, allocations: 4 kB / 1.307 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/1.072, allocations: 0 / 1.307 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.243e-05/1.072, allocations: 4 kB / 1.307 GB, free: 5.121 MB / 0.9981 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.0003786/1.072, allocations: 319.5 kB / 1.307 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/1.073, allocations: 12.03 kB / 1.307 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.453e-05/1.073, allocations: 76.22 kB / 1.308 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/1.073, allocations: 247.6 kB / 1.308 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-05/1.073, allocations: 154.9 kB / 1.308 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.56e-05/1.073, allocations: 150.9 kB / 1.308 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.009e-05/1.073, allocations: 109.1 kB / 1.308 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/1.073, allocations: 75.28 kB / 1.308 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.182e-05/1.073, allocations: 150.6 kB / 1.308 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.036e-05/1.073, allocations: 154.5 kB / 1.309 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.836e-05/1.073, allocations: 158.5 kB / 1.309 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/1.074, allocations: 449.9 kB / 1.309 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/1.074, allocations: 165.1 kB / 1.309 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.681e-05/1.074, allocations: 80.14 kB / 1.309 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.675e-05/1.074, allocations: 75.28 kB / 1.309 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.446e-05/1.074, allocations: 121.8 kB / 1.31 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/1.074, allocations: 3.938 kB / 1.31 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.464e-05/1.074, allocations: 33.73 kB / 1.31 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/1.074, allocations: 207.8 kB / 1.31 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/1.074, allocations: 93.86 kB / 1.31 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/1.074, allocations: 29.7 kB / 1.31 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/1.074, allocations: 80.14 kB / 1.31 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/1.074, allocations: 0 / 1.31 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/1.074, allocations: 21.7 kB / 1.31 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.074, allocations: 310.8 kB / 1.31 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.411e-06/1.074, allocations: 0 / 1.31 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.652e-05/1.074, allocations: 26.58 kB / 1.31 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.853e-05/1.075, allocations: 75.28 kB / 1.31 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.232e-05/1.075, allocations: 75.28 kB / 1.31 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.884e-05/1.075, allocations: 45.73 kB / 1.311 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.592e-05/1.075, allocations: 87.28 kB / 1.311 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.34e-05/1.075, allocations: 75.36 kB / 1.311 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.226e-05/1.075, allocations: 158.5 kB / 1.311 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.831e-05/1.075, allocations: 79.27 kB / 1.311 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.486e-05/1.075, allocations: 154.5 kB / 1.311 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/1.075, allocations: 87.27 kB / 1.311 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/1.075, allocations: 79.28 kB / 1.311 GB, free: 0.7227 MB / 0.9981 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.0001433/1.075, allocations: 260.4 kB / 1.311 GB, free: 468 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.011e-05/1.075, allocations: 112.9 kB / 1.312 GB, free: 348 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.163e-05/1.075, allocations: 104.1 kB / 1.312 GB, free: 240 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.213e-05/1.075, allocations: 184.2 kB / 1.312 GB, free: 48 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.559e-05/1.076, allocations: 184.2 kB / 1.312 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.468e-05/1.076, allocations: 180.3 kB / 1.312 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/1.076, allocations: 401.2 kB / 1.313 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.052e-05/1.076, allocations: 105 kB / 1.313 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.935e-05/1.076, allocations: 120.8 kB / 1.313 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.657e-05/1.076, allocations: 180.3 kB / 1.313 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.062e-05/1.076, allocations: 176.3 kB / 1.313 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.851e-05/1.076, allocations: 184.2 kB / 1.313 GB, free: 14.44 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.503e-05/1.076, allocations: 180.3 kB / 1.313 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/1.077, allocations: 303.8 kB / 1.314 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-05/1.077, allocations: 190 kB / 1.314 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.596e-05/1.077, allocations: 184.2 kB / 1.314 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/1.077, allocations: 105 kB / 1.314 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.434e-05/1.077, allocations: 180.2 kB / 1.314 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.002e-05/1.077, allocations: 105 kB / 1.314 GB, free: 13.14 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.56e-05/1.077, allocations: 83.27 kB / 1.315 GB, free: 13.05 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/1.077, allocations: 0 / 1.315 GB, free: 13.05 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002687/1.077, allocations: 4 kB / 1.315 GB, free: 13.05 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.0001574/1.077, allocations: 170.5 kB / 1.315 GB, free: 12.88 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 6.512e-05/1.078, allocations: 8 kB / 1.315 GB, free: 12.87 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.078, allocations: 3.938 kB / 1.315 GB, free: 12.86 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/1.078, allocations: 0 / 1.315 GB, free: 12.86 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/1.078, allocations: 459.7 kB / 1.315 GB, free: 12.41 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/1.078, allocations: 180.7 kB / 1.315 GB, free: 12.21 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/1.079, allocations: 0.6729 MB / 1.316 GB, free: 11.51 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.301e-05/1.079, allocations: 0 / 1.316 GB, free: 11.51 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.296e-05/1.079, allocations: 7.438 kB / 1.316 GB, free: 11.5 MB / 1.014 GB Notification: Performance of SimCode: time 6.31e-07/1.079, allocations: 8 kB / 1.316 GB, free: 11.49 MB / 1.014 GB Notification: Performance of Templates: time 0.004496/1.083, allocations: 0.4887 MB / 1.317 GB, free: 11 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 -s gbode -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_2/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: 8.901062467135489]