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.001878/0.001878, allocations: 77.23 kB / 19.76 MB, free: 2.035 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.002231/0.002231, allocations: 160.7 kB / 23.01 MB, free: 4.938 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.468/1.468, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.781/2.781, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 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.002178/0.002178, allocations: 67.89 kB / 0.9819 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7382/0.7404, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001851/0.7423, allocations: 1.253 MB / 1.155 GB, free: 32.48 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.7438, allocations: 1.331 MB / 1.156 GB, free: 31.58 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.606e-05/0.7438, allocations: 0 / 1.156 GB, free: 31.58 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.818e-05/0.7438, allocations: 3.938 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0005801/0.7444, allocations: 218 kB / 1.157 GB, free: 31.48 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 8.846e-05/0.7445, allocations: 39.72 kB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 4.144e-05/0.7445, allocations: 16.31 kB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.7445, allocations: 0 / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.92e-05/0.7446, allocations: 9.672 kB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2566/1.001, allocations: 31.06 MB / 1.187 GB, free: 17.27 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/1.001, allocations: 0 / 1.187 GB, free: 17.27 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.076e-05/1.001, allocations: 0.9688 kB / 1.187 GB, free: 17.27 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/1.001, allocations: 4.969 kB / 1.187 GB, free: 17.26 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/1.001, allocations: 6.094 kB / 1.187 GB, free: 17.26 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/1.001, allocations: 16.39 kB / 1.187 GB, free: 17.25 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/1.001, allocations: 0 / 1.187 GB, free: 17.25 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.192e-06/1.001, allocations: 0.875 kB / 1.187 GB, free: 17.25 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.588e-06/1.001, allocations: 0 / 1.187 GB, free: 17.25 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.0001987/1.002, allocations: 245.2 kB / 1.187 GB, free: 16.99 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/1.002, allocations: 9.781 kB / 1.187 GB, free: 16.99 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/1.002, allocations: 77.41 kB / 1.187 GB, free: 16.92 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.801e-05/1.002, allocations: 188 kB / 1.188 GB, free: 16.71 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/1.002, allocations: 152 kB / 1.188 GB, free: 16.56 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/1.002, allocations: 156 kB / 1.188 GB, free: 16.41 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.346e-05/1.002, allocations: 106.2 kB / 1.188 GB, free: 16.3 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/1.002, allocations: 79.48 kB / 1.188 GB, free: 16.23 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/1.002, allocations: 151.7 kB / 1.188 GB, free: 16.08 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/1.002, allocations: 150.6 kB / 1.188 GB, free: 15.93 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.838e-05/1.002, allocations: 155.7 kB / 1.188 GB, free: 15.78 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/1.002, allocations: 396.9 kB / 1.189 GB, free: 15.36 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 3.455e-05/1.002, allocations: 171.2 kB / 1.189 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.269e-05/1.002, allocations: 81.2 kB / 1.189 GB, free: 15.11 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/1.002, allocations: 75.28 kB / 1.189 GB, free: 15.03 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/1.002, allocations: 119.4 kB / 1.189 GB, free: 14.91 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/1.002, allocations: 0 / 1.189 GB, free: 14.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 5.845e-05/1.002, allocations: 39.67 kB / 1.189 GB, free: 14.87 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/1.002, allocations: 204.9 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.317e-05/1.002, allocations: 109.3 kB / 1.19 GB, free: 14.53 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/1.002, allocations: 26.86 kB / 1.19 GB, free: 14.5 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.822e-05/1.002, allocations: 81.27 kB / 1.19 GB, free: 14.41 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.182e-06/1.002, allocations: 0 / 1.19 GB, free: 14.41 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/1.002, allocations: 17.91 kB / 1.19 GB, free: 14.39 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.362e-05/1.002, allocations: 311.7 kB / 1.19 GB, free: 14.08 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.938e-06/1.002, allocations: 0 / 1.19 GB, free: 14.08 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.92e-05/1.002, allocations: 103.1 kB / 1.19 GB, free: 13.96 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.139e-05/1.002, allocations: 76.44 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.894e-06/1.002, allocations: 75.28 kB / 1.19 GB, free: 13.81 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.676e-05/1.002, allocations: 32.73 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.002, allocations: 85.44 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.002, allocations: 79.55 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/1.002, allocations: 159.6 kB / 1.191 GB, free: 13.47 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.626e-06/1.002, allocations: 80.25 kB / 1.191 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/1.002, allocations: 151.6 kB / 1.191 GB, free: 13.24 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/1.003, allocations: 89.7 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/1.003, allocations: 80.44 kB / 1.191 GB, free: 13.08 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 4.969e-05/1.003, allocations: 263.8 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/1.003, allocations: 115 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.982e-05/1.003, allocations: 106.5 kB / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/1.003, allocations: 180.7 kB / 1.192 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.921e-05/1.003, allocations: 181.3 kB / 1.192 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/1.003, allocations: 177.3 kB / 1.192 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/1.003, allocations: 359.4 kB / 1.192 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/1.003, allocations: 106.1 kB / 1.192 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.054e-05/1.003, allocations: 102.1 kB / 1.193 GB, free: 11.44 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-05/1.003, allocations: 186.6 kB / 1.193 GB, free: 11.25 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/1.003, allocations: 184.7 kB / 1.193 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-05/1.003, allocations: 185 kB / 1.193 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.728e-05/1.003, allocations: 178.5 kB / 1.193 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.326e-05/1.003, allocations: 303.7 kB / 1.193 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.705e-05/1.003, allocations: 107.2 kB / 1.194 GB, free: 10.28 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/1.003, allocations: 185.6 kB / 1.194 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/1.003, allocations: 111.9 kB / 1.194 GB, free: 9.984 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/1.003, allocations: 177.4 kB / 1.194 GB, free: 9.805 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/1.003, allocations: 106 kB / 1.194 GB, free: 9.695 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.867e-05/1.003, allocations: 88.48 kB / 1.194 GB, free: 9.613 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.003, allocations: 1.094 kB / 1.194 GB, free: 9.613 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002615/1.004, allocations: 3.344 kB / 1.194 GB, free: 9.613 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.431e-05/1.004, allocations: 169.9 kB / 1.194 GB, free: 9.449 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 4.096e-05/1.004, allocations: 1.062 kB / 1.194 GB, free: 9.449 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.004, allocations: 5.156 kB / 1.194 GB, free: 9.445 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/1.004, allocations: 0 / 1.194 GB, free: 9.445 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/1.004, allocations: 470.7 kB / 1.195 GB, free: 8.988 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001631/1.004, allocations: 160.7 kB / 1.195 GB, free: 8.816 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.825e-05/1.004, allocations: 65.05 kB / 1.195 GB, free: 8.738 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.492e-05/1.004, allocations: 2.844 kB / 1.195 GB, free: 8.738 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.995e-06/1.004, allocations: 9.625 kB / 1.195 GB, free: 8.73 MB / 1.076 GB Notification: Performance of SimCode: time 4.21e-07/1.004, allocations: 0 / 1.195 GB, free: 8.73 MB / 1.076 GB Notification: Performance of Templates: time 0.00341/1.008, allocations: 0.536 MB / 1.196 GB, free: 8.629 MB / 1.076 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 ida -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.63773022708483]