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.001655/0.001655, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.00183/0.00183, allocations: 212.3 kB / 22.99 MB, free: 4.984 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.188/3.188, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 177] 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.002112/0.002112, allocations: 66.72 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3136, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.00252/0.3161, allocations: 1.256 MB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002344/0.3184, allocations: 1.333 MB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.064e-05/0.3185, allocations: 0 / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.3185, allocations: 0 / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007874/0.3193, allocations: 215.3 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.3194, allocations: 41.5 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.373e-05/0.3195, allocations: 8 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.816e-05/0.3195, allocations: 3.984 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.853e-05/0.3195, allocations: 12 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.274/0.5935, allocations: 31.05 MB / 1.36 GB, free: 1.559 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.5936, allocations: 0 / 1.36 GB, free: 1.559 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.185e-05/0.5936, allocations: 7.938 kB / 1.36 GB, free: 1.551 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.5936, allocations: 7.984 kB / 1.36 GB, free: 1.543 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.5936, allocations: 4 kB / 1.36 GB, free: 1.539 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.5938, allocations: 11.92 kB / 1.36 GB, free: 1.527 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.5938, allocations: 0 / 1.36 GB, free: 1.527 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5938, allocations: 3.938 kB / 1.36 GB, free: 1.523 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.301e-06/0.5938, allocations: 0 / 1.36 GB, free: 1.523 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.0003029/0.5941, allocations: 246.4 kB / 1.36 GB, free: 1.254 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.5941, allocations: 8.031 kB / 1.36 GB, free: 1.246 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.976e-05/0.5942, allocations: 80.22 kB / 1.361 GB, free: 1.168 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.5943, allocations: 181.8 kB / 1.361 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.002e-05/0.5944, allocations: 158.9 kB / 1.361 GB, free: 0.8086 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.73e-05/0.5944, allocations: 158.9 kB / 1.361 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.386e-05/0.5945, allocations: 105.1 kB / 1.361 GB, free: 0.543 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.5946, allocations: 75.28 kB / 1.361 GB, free: 480 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.75e-05/0.5946, allocations: 154.6 kB / 1.361 GB, free: 324 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.386e-05/0.5947, allocations: 158.5 kB / 1.361 GB, free: 164 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.54e-05/0.5948, allocations: 150.6 kB / 1.362 GB, free: 12 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.5951, allocations: 397.6 kB / 1.362 GB, free: 15.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005858/0.5957, allocations: 165.1 kB / 1.362 GB, free: 15.42 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.409e-05/0.5957, allocations: 80.14 kB / 1.362 GB, free: 15.34 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.141e-05/0.5957, allocations: 87.2 kB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.503e-05/0.5958, allocations: 113.8 kB / 1.362 GB, free: 15.13 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.5958, allocations: 0 / 1.362 GB, free: 15.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.833e-05/0.5959, allocations: 37.64 kB / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.596, allocations: 203.8 kB / 1.363 GB, free: 14.86 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.5961, allocations: 97.84 kB / 1.363 GB, free: 14.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.5962, allocations: 25.7 kB / 1.363 GB, free: 14.72 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.5962, allocations: 88.12 kB / 1.363 GB, free: 14.63 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.43e-06/0.5962, allocations: 4 kB / 1.363 GB, free: 14.63 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.5962, allocations: 9.719 kB / 1.363 GB, free: 14.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.5964, allocations: 314.8 kB / 1.363 GB, free: 14.3 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.869e-06/0.5964, allocations: 0 / 1.363 GB, free: 14.3 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.96e-05/0.5965, allocations: 111.6 kB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.891e-05/0.5965, allocations: 79.28 kB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-05/0.5966, allocations: 75.28 kB / 1.363 GB, free: 14.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.215e-05/0.5966, allocations: 29.7 kB / 1.363 GB, free: 13.97 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.406e-05/0.5967, allocations: 83.22 kB / 1.364 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.246e-05/0.5967, allocations: 79.28 kB / 1.364 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.826e-05/0.5968, allocations: 154.5 kB / 1.364 GB, free: 13.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.088e-05/0.5968, allocations: 75.28 kB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.242e-05/0.5969, allocations: 158.5 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.5971, allocations: 83.27 kB / 1.364 GB, free: 13.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.711e-05/0.5971, allocations: 83.28 kB / 1.364 GB, free: 13.27 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.0001498/0.5973, allocations: 260.3 kB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.463e-05/0.5973, allocations: 112.9 kB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.721e-05/0.5974, allocations: 108.1 kB / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.448e-05/0.5975, allocations: 192.1 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-05/0.5976, allocations: 184.2 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.428e-05/0.5976, allocations: 180.2 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.5979, allocations: 352.9 kB / 1.365 GB, free: 11.81 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-05/0.5979, allocations: 109 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.204e-05/0.598, allocations: 104.9 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-05/0.5981, allocations: 180.3 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-05/0.5982, allocations: 188.1 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.832e-05/0.5982, allocations: 180.2 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.816e-05/0.5983, allocations: 176.3 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.5985, allocations: 307.8 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.333e-05/0.5985, allocations: 108.9 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.206e-05/0.5986, allocations: 184.2 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.5988, allocations: 105 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.704e-05/0.5989, allocations: 184.2 kB / 1.367 GB, free: 9.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.023e-05/0.5989, allocations: 101 kB / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.663e-05/0.599, allocations: 83.27 kB / 1.367 GB, free: 9.742 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.599, allocations: 4 kB / 1.367 GB, free: 9.738 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002724/0.5993, allocations: 4 kB / 1.367 GB, free: 9.734 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.0001413/0.5994, allocations: 170.5 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 5.717e-05/0.5995, allocations: 11.94 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5995, allocations: 0 / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.5995, allocations: 0 / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.5999, allocations: 461.3 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002843/0.6001, allocations: 172.9 kB / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.23e-05/0.6002, allocations: 59.36 kB / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.435e-05/0.6002, allocations: 0 / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.271e-05/0.6002, allocations: 7.438 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of SimCode: time 6.31e-07/0.6002, allocations: 4 kB / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of Templates: time 0.004786/0.605, allocations: 0.5548 MB / 1.369 GB, free: 8.258 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 -s gbode -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: 8.87310897000134]