Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001606/0.001606, allocations: 79.11 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.001753/0.001753, allocations: 157.1 kB / 23.01 MB, free: 4.941 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.427/1.427, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.919/2.919, allocations: 394.2 MB / 0.6387 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002287/0.002287, allocations: 71.88 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7929/0.7951, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.00202/0.7972, allocations: 1.263 MB / 1.188 GB, free: 15.31 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.7989, allocations: 1.326 MB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.006e-05/0.799, allocations: 0 / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.97e-05/0.799, allocations: 4.453 kB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0006586/0.7996, allocations: 216 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001153/0.7998, allocations: 31.98 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.003e-05/0.7998, allocations: 16 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.7998, allocations: 2.062 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.136e-05/0.7999, allocations: 15.08 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2629/1.063, allocations: 31.05 MB / 1.22 GB, free: 15.88 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/1.063, allocations: 0 / 1.22 GB, free: 15.88 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/1.063, allocations: 1.188 kB / 1.22 GB, free: 15.88 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/1.063, allocations: 5.469 kB / 1.22 GB, free: 15.87 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/1.063, allocations: 2.969 kB / 1.22 GB, free: 15.87 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/1.063, allocations: 12.16 kB / 1.22 GB, free: 15.87 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.063, allocations: 0 / 1.22 GB, free: 15.87 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.943e-06/1.063, allocations: 0 / 1.22 GB, free: 15.87 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.34e-06/1.063, allocations: 0 / 1.22 GB, free: 15.87 MB / 1.092 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.0003108/1.063, allocations: 242.2 kB / 1.22 GB, free: 15.61 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/1.063, allocations: 13.03 kB / 1.22 GB, free: 15.61 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.418e-05/1.063, allocations: 79.23 kB / 1.22 GB, free: 15.54 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/1.064, allocations: 192.4 kB / 1.22 GB, free: 15.32 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.803e-05/1.064, allocations: 156.2 kB / 1.22 GB, free: 15.17 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.351e-05/1.064, allocations: 152 kB / 1.221 GB, free: 15.02 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.348e-05/1.064, allocations: 107.2 kB / 1.221 GB, free: 14.91 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.558e-05/1.064, allocations: 75.28 kB / 1.221 GB, free: 14.84 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-05/1.064, allocations: 151.9 kB / 1.221 GB, free: 14.69 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-05/1.064, allocations: 151.8 kB / 1.221 GB, free: 14.54 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.968e-05/1.064, allocations: 156.1 kB / 1.221 GB, free: 14.39 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/1.064, allocations: 397.8 kB / 1.222 GB, free: 13.98 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/1.064, allocations: 171.5 kB / 1.222 GB, free: 13.8 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.227e-05/1.064, allocations: 80.14 kB / 1.222 GB, free: 13.72 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 4.202e-05/1.065, allocations: 77.48 kB / 1.222 GB, free: 13.64 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.081e-05/1.065, allocations: 116.4 kB / 1.222 GB, free: 13.52 MB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/1.065, allocations: 0 / 1.222 GB, free: 13.52 MB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 7.911e-05/1.065, allocations: 39.62 kB / 1.222 GB, free: 13.48 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/1.065, allocations: 205.9 kB / 1.222 GB, free: 13.25 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/1.065, allocations: 96.08 kB / 1.222 GB, free: 13.15 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/1.065, allocations: 25.7 kB / 1.222 GB, free: 13.12 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/1.065, allocations: 87.5 kB / 1.222 GB, free: 13.04 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 1.382e-06/1.065, allocations: 4 kB / 1.222 GB, free: 13.03 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/1.065, allocations: 18.3 kB / 1.222 GB, free: 13.01 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001477/1.065, allocations: 312.3 kB / 1.223 GB, free: 12.7 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.238e-06/1.065, allocations: 1.062 kB / 1.223 GB, free: 12.7 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.626e-05/1.065, allocations: 100.6 kB / 1.223 GB, free: 12.58 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.648e-05/1.065, allocations: 80.75 kB / 1.223 GB, free: 12.5 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.222e-05/1.065, allocations: 75.94 kB / 1.223 GB, free: 12.43 MB / 1.092 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.759e-05/1.065, allocations: 33.84 kB / 1.223 GB, free: 12.39 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.47e-05/1.065, allocations: 84.53 kB / 1.223 GB, free: 12.31 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.726e-05/1.065, allocations: 77.86 kB / 1.223 GB, free: 12.24 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-05/1.066, allocations: 159.7 kB / 1.223 GB, free: 12.08 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.728e-05/1.066, allocations: 80.92 kB / 1.223 GB, free: 12 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.536e-05/1.066, allocations: 151.8 kB / 1.224 GB, free: 11.86 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/1.066, allocations: 89.22 kB / 1.224 GB, free: 11.77 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/1.066, allocations: 75.28 kB / 1.224 GB, free: 11.7 MB / 1.092 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.0001558/1.066, allocations: 260.6 kB / 1.224 GB, free: 11.44 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-05/1.066, allocations: 112.2 kB / 1.224 GB, free: 11.32 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.418e-05/1.066, allocations: 106.9 kB / 1.224 GB, free: 11.21 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.622e-05/1.066, allocations: 182.4 kB / 1.224 GB, free: 11.03 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.838e-05/1.066, allocations: 182.1 kB / 1.224 GB, free: 10.84 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.602e-05/1.066, allocations: 178.1 kB / 1.225 GB, free: 10.66 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/1.067, allocations: 358.2 kB / 1.225 GB, free: 10.28 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-05/1.067, allocations: 110.8 kB / 1.225 GB, free: 10.17 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.632e-05/1.067, allocations: 103.2 kB / 1.225 GB, free: 10.06 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.622e-05/1.067, allocations: 182 kB / 1.225 GB, free: 9.879 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.963e-05/1.067, allocations: 183.5 kB / 1.226 GB, free: 9.695 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.897e-05/1.067, allocations: 182.7 kB / 1.226 GB, free: 9.512 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.194e-05/1.067, allocations: 177.9 kB / 1.226 GB, free: 9.332 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/1.067, allocations: 311.5 kB / 1.226 GB, free: 9.012 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/1.067, allocations: 103.9 kB / 1.226 GB, free: 8.906 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/1.067, allocations: 186.7 kB / 1.226 GB, free: 8.719 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/1.068, allocations: 114.4 kB / 1.227 GB, free: 8.605 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.539e-05/1.068, allocations: 182.2 kB / 1.227 GB, free: 8.422 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.868e-05/1.068, allocations: 102.5 kB / 1.227 GB, free: 8.316 MB / 1.092 GB Notification: Performance of sorting global known variables: time 5.235e-05/1.068, allocations: 78.78 kB / 1.227 GB, free: 8.242 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/1.068, allocations: 1.125 kB / 1.227 GB, free: 8.242 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002745/1.068, allocations: 2.531 kB / 1.227 GB, free: 8.242 MB / 1.092 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.0001341/1.068, allocations: 170.2 kB / 1.227 GB, free: 8.078 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 4.554e-05/1.068, allocations: 6.719 kB / 1.227 GB, free: 8.074 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/1.068, allocations: 0 / 1.227 GB, free: 8.074 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 3.277e-06/1.068, allocations: 7.938 kB / 1.227 GB, free: 8.066 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/1.069, allocations: 461.6 kB / 1.228 GB, free: 7.617 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/1.069, allocations: 175.5 kB / 1.228 GB, free: 7.434 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.867e-05/1.069, allocations: 60.2 kB / 1.228 GB, free: 7.359 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 2.809e-05/1.069, allocations: 2.688 kB / 1.228 GB, free: 7.359 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.624e-05/1.069, allocations: 10.31 kB / 1.228 GB, free: 7.352 MB / 1.092 GB Notification: Performance of SimCode: time 4.01e-07/1.069, allocations: 0 / 1.228 GB, free: 7.352 MB / 1.092 GB Notification: Performance of Templates: time 0.01124/1.08, allocations: 0.5497 MB / 1.228 GB, free: 7.238 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.728800537995994]