Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001639/0.001639, allocations: 102.1 kB / 19.7 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.001858/0.001858, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.199/3.199, allocations: 0.49 GB / 0.7958 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002057/0.002057, allocations: 67.95 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3794, allocations: 176.1 MB / 1.327 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002641/0.382, allocations: 1.264 MB / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002323/0.3844, allocations: 1.354 MB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.796e-05/0.3844, allocations: 4 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.633e-05/0.3844, allocations: 0 / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007432/0.3851, allocations: 211.3 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001088/0.3852, allocations: 38.08 kB / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.982e-05/0.3853, allocations: 15.92 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.451e-05/0.3854, allocations: 0 / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.237e-05/0.3854, allocations: 15.92 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2572/0.6425, allocations: 31.06 MB / 1.36 GB, free: 1.988 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.6426, allocations: 0 / 1.36 GB, free: 1.988 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.375e-05/0.6426, allocations: 0 / 1.36 GB, free: 1.988 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.6426, allocations: 3.984 kB / 1.36 GB, free: 1.984 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/0.6426, allocations: 4 kB / 1.36 GB, free: 1.98 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.6428, allocations: 15.88 kB / 1.36 GB, free: 1.965 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.6428, allocations: 3.938 kB / 1.36 GB, free: 1.961 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6428, allocations: 0 / 1.36 GB, free: 1.961 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.6428, allocations: 0 / 1.36 GB, free: 1.961 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.0003209/0.6431, allocations: 246.4 kB / 1.361 GB, free: 1.691 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.6431, allocations: 8.031 kB / 1.361 GB, free: 1.684 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.342e-05/0.6432, allocations: 80.22 kB / 1.361 GB, free: 1.605 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.6434, allocations: 185.8 kB / 1.361 GB, free: 1.398 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.522e-05/0.6434, allocations: 154.9 kB / 1.361 GB, free: 1.246 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007708/0.6442, allocations: 154.9 kB / 1.361 GB, free: 1.094 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.106e-05/0.6443, allocations: 109.1 kB / 1.361 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.599e-05/0.6443, allocations: 75.28 kB / 1.361 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.435e-05/0.6444, allocations: 150.6 kB / 1.361 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.997e-05/0.6444, allocations: 150.6 kB / 1.362 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.964e-05/0.6445, allocations: 158.5 kB / 1.362 GB, free: 464 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003294/0.6448, allocations: 421 kB / 1.362 GB, free: 0 / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.645, allocations: 165.1 kB / 1.362 GB, free: 15.83 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.837e-05/0.645, allocations: 80.14 kB / 1.362 GB, free: 15.75 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.906e-05/0.645, allocations: 87.27 kB / 1.362 GB, free: 15.66 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.706e-05/0.6451, allocations: 117.7 kB / 1.363 GB, free: 15.54 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.6451, allocations: 0 / 1.363 GB, free: 15.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.349e-05/0.6452, allocations: 29.7 kB / 1.363 GB, free: 15.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.6453, allocations: 203.8 kB / 1.363 GB, free: 15.27 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.6454, allocations: 101.8 kB / 1.363 GB, free: 15.16 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.6454, allocations: 29.7 kB / 1.363 GB, free: 15.12 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.6455, allocations: 88.12 kB / 1.363 GB, free: 15.04 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-06/0.6455, allocations: 0 / 1.363 GB, free: 15.04 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.6455, allocations: 17.66 kB / 1.363 GB, free: 15.01 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6457, allocations: 314.8 kB / 1.363 GB, free: 14.7 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.799e-06/0.6457, allocations: 0 / 1.363 GB, free: 14.7 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.737e-05/0.6457, allocations: 22.56 kB / 1.363 GB, free: 14.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.978e-05/0.6458, allocations: 83.16 kB / 1.363 GB, free: 14.58 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-05/0.6458, allocations: 79.28 kB / 1.363 GB, free: 14.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.245e-05/0.6458, allocations: 37.64 kB / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.089e-05/0.6459, allocations: 79.28 kB / 1.364 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.81e-05/0.6459, allocations: 79.28 kB / 1.364 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.628e-05/0.646, allocations: 154.5 kB / 1.364 GB, free: 14.15 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.804e-05/0.646, allocations: 79.27 kB / 1.364 GB, free: 14.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.337e-05/0.6461, allocations: 166.5 kB / 1.364 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.6463, allocations: 79.28 kB / 1.364 GB, free: 13.83 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.6463, allocations: 75.28 kB / 1.364 GB, free: 13.76 MB / 1.061 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.0001382/0.6464, allocations: 260.4 kB / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.435e-05/0.6465, allocations: 116.8 kB / 1.365 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.952e-05/0.6466, allocations: 112.1 kB / 1.365 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.627e-05/0.6467, allocations: 188.2 kB / 1.365 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.382e-05/0.6467, allocations: 176.3 kB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.599e-05/0.6468, allocations: 180.3 kB / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.6471, allocations: 376.2 kB / 1.366 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.45e-05/0.6471, allocations: 101 kB / 1.366 GB, free: 12.17 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.721e-05/0.6471, allocations: 116.9 kB / 1.366 GB, free: 12.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.267e-05/0.6472, allocations: 180.2 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.389e-05/0.6473, allocations: 176.3 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.475e-05/0.6474, allocations: 180.2 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.352e-05/0.6475, allocations: 184.3 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.6476, allocations: 307.8 kB / 1.367 GB, free: 10.99 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.6477, allocations: 108.9 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.693e-05/0.6478, allocations: 184.3 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.6479, allocations: 105 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.579e-05/0.648, allocations: 184.2 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/0.648, allocations: 109 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.586e-05/0.6481, allocations: 75.28 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.6481, allocations: 4 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002537/0.6483, allocations: 4 kB / 1.367 GB, free: 10.2 MB / 1.061 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.0001587/0.6485, allocations: 170.5 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.277e-05/0.6486, allocations: 11.92 kB / 1.368 GB, free: 10 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.6486, allocations: 0 / 1.368 GB, free: 10 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.193e-06/0.6486, allocations: 4 kB / 1.368 GB, free: 10 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.649, allocations: 459.6 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003049/0.6493, allocations: 194.6 kB / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.6496, allocations: 0.6729 MB / 1.369 GB, free: 8.625 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.239e-05/0.6496, allocations: 11.44 kB / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.6496, allocations: 4 kB / 1.369 GB, free: 8.609 MB / 1.061 GB Notification: Performance of Templates: time 0.003954/0.6535, allocations: 480.3 kB / 1.369 GB, free: 8.141 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.590035419008927]