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.001491/0.001491, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001713/0.001713, allocations: 159.5 kB / 23.01 MB, free: 4.949 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.43/1.43, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.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.675/2.675, allocations: 359.1 MB / 0.6044 GB, free: 14.89 MB / 0.5762 GB " [Timeout remaining time 177] 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.002184/0.002184, allocations: 71.89 kB / 0.9515 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2781, allocations: 169.9 MB / 1.117 GB, free: 2.609 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002425/0.2806, allocations: 1.255 MB / 1.119 GB, free: 1.344 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00214/0.2827, allocations: 1.325 MB / 1.12 GB, free: 12 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.699e-05/0.2827, allocations: 0 / 1.12 GB, free: 12 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.842e-05/0.2827, allocations: 0 / 1.12 GB, free: 12 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000725/0.2835, allocations: 219.4 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001051/0.2836, allocations: 29.33 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 4.554e-05/0.2836, allocations: 19.88 kB / 1.12 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.578e-05/0.2837, allocations: 11.97 kB / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.985e-05/0.2837, allocations: 8 kB / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7531/1.037, allocations: 31.05 MB / 1.151 GB, free: 56.05 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/1.037, allocations: 3.125 kB / 1.151 GB, free: 56.05 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.079e-05/1.037, allocations: 0 / 1.151 GB, free: 56.05 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/1.037, allocations: 3.234 kB / 1.151 GB, free: 56.05 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/1.037, allocations: 10.28 kB / 1.151 GB, free: 56.05 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.893e-05/1.037, allocations: 13.8 kB / 1.151 GB, free: 56.04 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.037, allocations: 0 / 1.151 GB, free: 56.04 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.272e-06/1.037, allocations: 0 / 1.151 GB, free: 56.04 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.889e-06/1.037, allocations: 0 / 1.151 GB, free: 56.04 MB / 1.076 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.0002093/1.037, allocations: 251.5 kB / 1.151 GB, free: 55.78 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/1.037, allocations: 8.719 kB / 1.151 GB, free: 55.78 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/1.037, allocations: 79.59 kB / 1.151 GB, free: 55.71 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.123e-05/1.037, allocations: 180.8 kB / 1.151 GB, free: 55.51 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/1.037, allocations: 150.9 kB / 1.151 GB, free: 55.36 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/1.037, allocations: 157.4 kB / 1.151 GB, free: 55.21 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.815e-05/1.037, allocations: 113.1 kB / 1.151 GB, free: 55.1 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/1.037, allocations: 79.28 kB / 1.152 GB, free: 55.02 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/1.037, allocations: 153.1 kB / 1.152 GB, free: 54.87 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/1.037, allocations: 150.6 kB / 1.152 GB, free: 54.72 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.925e-05/1.037, allocations: 153.2 kB / 1.152 GB, free: 54.57 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/1.038, allocations: 399.1 kB / 1.152 GB, free: 54.16 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 3.495e-05/1.038, allocations: 171.8 kB / 1.153 GB, free: 53.99 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.38e-05/1.038, allocations: 83.02 kB / 1.153 GB, free: 53.91 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.437e-06/1.038, allocations: 78.66 kB / 1.153 GB, free: 53.83 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/1.038, allocations: 108.7 kB / 1.153 GB, free: 53.72 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/1.038, allocations: 0 / 1.153 GB, free: 53.72 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 6.162e-05/1.038, allocations: 40.69 kB / 1.153 GB, free: 53.68 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/1.038, allocations: 210 kB / 1.153 GB, free: 53.45 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.707e-05/1.038, allocations: 100.2 kB / 1.153 GB, free: 53.34 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/1.038, allocations: 25.7 kB / 1.153 GB, free: 53.31 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.921e-05/1.038, allocations: 83.02 kB / 1.153 GB, free: 53.23 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.242e-06/1.038, allocations: 0 / 1.153 GB, free: 53.23 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-05/1.038, allocations: 19.58 kB / 1.153 GB, free: 53.21 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.454e-05/1.038, allocations: 313.7 kB / 1.154 GB, free: 52.9 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.737e-06/1.038, allocations: 0 / 1.154 GB, free: 52.9 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.98e-05/1.038, allocations: 94.59 kB / 1.154 GB, free: 52.79 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.104e-05/1.038, allocations: 75.28 kB / 1.154 GB, free: 52.71 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/1.038, allocations: 84.78 kB / 1.154 GB, free: 52.63 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.704e-05/1.038, allocations: 31.77 kB / 1.154 GB, free: 52.6 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/1.038, allocations: 81.41 kB / 1.154 GB, free: 52.53 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/1.038, allocations: 85.56 kB / 1.154 GB, free: 52.45 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/1.038, allocations: 150.6 kB / 1.154 GB, free: 52.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.427e-06/1.038, allocations: 79.38 kB / 1.154 GB, free: 52.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/1.038, allocations: 153.9 kB / 1.154 GB, free: 52.08 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006484/1.039, allocations: 81.33 kB / 1.154 GB, free: 52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/1.039, allocations: 84.78 kB / 1.155 GB, free: 51.93 MB / 1.076 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 5.162e-05/1.039, allocations: 262.7 kB / 1.155 GB, free: 51.66 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/1.039, allocations: 111 kB / 1.155 GB, free: 51.55 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.181e-05/1.039, allocations: 111.4 kB / 1.155 GB, free: 51.45 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/1.039, allocations: 179 kB / 1.155 GB, free: 51.27 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.161e-05/1.039, allocations: 182.3 kB / 1.155 GB, free: 51.09 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.979e-05/1.039, allocations: 179.2 kB / 1.155 GB, free: 50.91 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/1.039, allocations: 356.7 kB / 1.156 GB, free: 50.53 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/1.039, allocations: 107.5 kB / 1.156 GB, free: 50.42 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.156e-05/1.039, allocations: 107.8 kB / 1.156 GB, free: 50.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.891e-05/1.039, allocations: 179.3 kB / 1.156 GB, free: 50.14 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/1.039, allocations: 182.9 kB / 1.156 GB, free: 49.96 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.827e-05/1.039, allocations: 187.4 kB / 1.157 GB, free: 49.77 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.942e-05/1.039, allocations: 179.6 kB / 1.157 GB, free: 49.59 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.47e-05/1.039, allocations: 307.1 kB / 1.157 GB, free: 49.28 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.641e-05/1.039, allocations: 107.8 kB / 1.157 GB, free: 49.17 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/1.039, allocations: 179.4 kB / 1.157 GB, free: 48.99 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/1.039, allocations: 119.5 kB / 1.157 GB, free: 48.88 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/1.039, allocations: 180.2 kB / 1.158 GB, free: 48.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/1.039, allocations: 114.5 kB / 1.158 GB, free: 48.59 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.761e-05/1.039, allocations: 78.08 kB / 1.158 GB, free: 48.52 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/1.039, allocations: 2.938 kB / 1.158 GB, free: 48.52 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00026/1.04, allocations: 2.875 kB / 1.158 GB, free: 48.52 MB / 1.076 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 7.155e-05/1.04, allocations: 177 kB / 1.158 GB, free: 48.35 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 4.223e-05/1.04, allocations: 9.734 kB / 1.158 GB, free: 48.35 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/1.04, allocations: 0 / 1.158 GB, free: 48.35 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.153e-06/1.04, allocations: 0 / 1.158 GB, free: 48.35 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/1.04, allocations: 464.3 kB / 1.158 GB, free: 47.9 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001626/1.04, allocations: 162.5 kB / 1.159 GB, free: 47.73 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.605e-05/1.04, allocations: 57.61 kB / 1.159 GB, free: 47.66 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.527e-05/1.04, allocations: 13.08 kB / 1.159 GB, free: 47.65 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.627e-06/1.04, allocations: 8.5 kB / 1.159 GB, free: 47.64 MB / 1.076 GB Notification: Performance of SimCode: time 4.31e-07/1.04, allocations: 2.5 kB / 1.159 GB, free: 47.64 MB / 1.076 GB Notification: Performance of Templates: time 0.003443/1.044, allocations: 0.5329 MB / 1.159 GB, free: 47.56 MB / 1.076 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 ida -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/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.358790441066958]