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.001654/0.001654, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001984/0.001984, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.294/3.294, allocations: 0.4892 GB / 0.7951 GB, free: 35.46 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.002087/0.002087, allocations: 65.84 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4069, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.003037/0.4099, allocations: 1.254 MB / 1.328 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002607/0.4125, allocations: 1.333 MB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.692e-05/0.4125, allocations: 0 / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.379e-05/0.4126, allocations: 0 / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009553/0.4135, allocations: 211.2 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001226/0.4136, allocations: 31.95 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.581e-05/0.4137, allocations: 19.92 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.855e-05/0.4138, allocations: 7.984 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.363e-05/0.4138, allocations: 7.938 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2549/0.6686, allocations: 31.06 MB / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.6687, allocations: 0 / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.6687, allocations: 0 / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.185e-05/0.6687, allocations: 11.97 kB / 1.359 GB, free: 2.441 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.044e-05/0.6688, allocations: 4 kB / 1.359 GB, free: 2.438 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.6689, allocations: 7.938 kB / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.6689, allocations: 3.938 kB / 1.359 GB, free: 2.426 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.045e-06/0.6689, allocations: 4 kB / 1.359 GB, free: 2.422 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.6689, allocations: 0 / 1.359 GB, free: 2.422 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.0003709/0.6693, allocations: 246.4 kB / 1.36 GB, free: 2.152 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.6693, allocations: 12.03 kB / 1.36 GB, free: 2.141 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.74e-05/0.6694, allocations: 76.22 kB / 1.36 GB, free: 2.066 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.6696, allocations: 185.8 kB / 1.36 GB, free: 1.859 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.503e-05/0.6696, allocations: 154.9 kB / 1.36 GB, free: 1.707 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.964e-05/0.6697, allocations: 150.9 kB / 1.36 GB, free: 1.559 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.454e-05/0.6698, allocations: 109.1 kB / 1.36 GB, free: 1.445 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/0.6698, allocations: 79.28 kB / 1.36 GB, free: 1.367 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.532e-05/0.6699, allocations: 154.6 kB / 1.361 GB, free: 1.215 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-05/0.67, allocations: 154.6 kB / 1.361 GB, free: 1.062 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.195e-05/0.67, allocations: 150.6 kB / 1.361 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.6703, allocations: 397.6 kB / 1.361 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.6704, allocations: 173.1 kB / 1.361 GB, free: 324 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.674e-05/0.6705, allocations: 80.14 kB / 1.361 GB, free: 240 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.911e-05/0.6705, allocations: 75.28 kB / 1.362 GB, free: 164 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.191e-05/0.6706, allocations: 109.8 kB / 1.362 GB, free: 44 kB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.6706, allocations: 0 / 1.362 GB, free: 44 kB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0001116/0.6707, allocations: 45.67 kB / 1.362 GB, free: 15.99 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001562/0.6709, allocations: 207.8 kB / 1.362 GB, free: 15.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.671, allocations: 97.86 kB / 1.362 GB, free: 15.65 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.671, allocations: 29.64 kB / 1.362 GB, free: 15.61 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.6711, allocations: 88.12 kB / 1.362 GB, free: 15.52 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.6711, allocations: 0 / 1.362 GB, free: 15.52 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.6711, allocations: 17.72 kB / 1.362 GB, free: 15.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.6712, allocations: 310.8 kB / 1.362 GB, free: 15.19 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.982e-06/0.6712, allocations: 0 / 1.362 GB, free: 15.19 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.01e-05/0.6713, allocations: 95.69 kB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.929e-05/0.6714, allocations: 83.27 kB / 1.363 GB, free: 14.98 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.77e-05/0.6714, allocations: 79.28 kB / 1.363 GB, free: 14.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.5e-05/0.6715, allocations: 37.59 kB / 1.363 GB, free: 14.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.791e-05/0.6715, allocations: 91.22 kB / 1.363 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.399e-05/0.6715, allocations: 75.28 kB / 1.363 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.428e-05/0.6716, allocations: 150.6 kB / 1.363 GB, free: 14.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.048e-05/0.6717, allocations: 87.05 kB / 1.363 GB, free: 14.47 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-05/0.6717, allocations: 150.6 kB / 1.363 GB, free: 14.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.6719, allocations: 87.2 kB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.6719, allocations: 75.28 kB / 1.363 GB, free: 14.16 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.000173/0.6721, allocations: 264.4 kB / 1.364 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.081e-05/0.6722, allocations: 104.9 kB / 1.364 GB, free: 13.78 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.652e-05/0.6722, allocations: 116.1 kB / 1.364 GB, free: 13.65 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.612e-05/0.6723, allocations: 180.3 kB / 1.364 GB, free: 13.47 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.835e-05/0.6724, allocations: 184.2 kB / 1.364 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.712e-05/0.6725, allocations: 184.3 kB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.6727, allocations: 352.9 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.687e-05/0.6728, allocations: 104.9 kB / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.14e-05/0.6728, allocations: 101 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-05/0.6729, allocations: 188.2 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.994e-05/0.673, allocations: 180.2 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.471e-05/0.6731, allocations: 180.2 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.035e-05/0.6732, allocations: 184.2 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.6733, allocations: 307.8 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.6734, allocations: 105 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.6735, allocations: 188.1 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.6736, allocations: 105 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.918e-05/0.6737, allocations: 180.3 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-05/0.6738, allocations: 104.9 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.224e-05/0.6738, allocations: 83.27 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.6738, allocations: 0 / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002412/0.674, allocations: 4 kB / 1.367 GB, free: 10.64 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.0001661/0.6742, allocations: 178.5 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 5.787e-05/0.6743, allocations: 0 / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.6743, allocations: 0 / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.6743, allocations: 7.938 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.6747, allocations: 471.5 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/0.675, allocations: 190.6 kB / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.216e-05/0.6751, allocations: 55.36 kB / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.703e-05/0.6751, allocations: 7.438 kB / 1.367 GB, free: 9.676 MB / 1.061 GB Notification: Performance of SimCode: time 4.71e-07/0.6751, allocations: 0 / 1.367 GB, free: 9.676 MB / 1.061 GB Notification: Performance of Templates: time 0.003918/0.679, allocations: 484.4 kB / 1.368 GB, free: 9.203 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: 12.114527794066817]