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.001927/0.001927, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002448/0.002448, allocations: 221.6 kB / 23 MB, free: 4.914 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.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 3.356/3.356, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 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.002197/0.002197, allocations: 61.75 kB / 1.187 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4422/0.4444, allocations: 181.9 MB / 1.365 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.00263/0.4471, allocations: 1.259 MB / 1.366 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002335/0.4494, allocations: 1.332 MB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.154e-05/0.4494, allocations: 4 kB / 1.367 GB, free: 11.03 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.4494, allocations: 0 / 1.367 GB, free: 11.03 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000787/0.4502, allocations: 213.4 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000111/0.4503, allocations: 31.89 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.337e-05/0.4504, allocations: 19.97 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.384e-05/0.4504, allocations: 0 / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.948e-05/0.4505, allocations: 4 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2585/0.709, allocations: 31.06 MB / 1.398 GB, free: 14.11 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.709, allocations: 4 kB / 1.398 GB, free: 14.1 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.709, allocations: 7.875 kB / 1.398 GB, free: 14.09 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.709, allocations: 4 kB / 1.398 GB, free: 14.09 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 2.955e-05/0.7091, allocations: 3.984 kB / 1.398 GB, free: 14.09 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.7092, allocations: 19.92 kB / 1.398 GB, free: 14.07 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.7092, allocations: 0 / 1.398 GB, free: 14.07 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7092, allocations: 0 / 1.398 GB, free: 14.07 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.7092, allocations: 0 / 1.398 GB, free: 14.07 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.0003265/0.7095, allocations: 238.5 kB / 1.398 GB, free: 13.8 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.7096, allocations: 8.031 kB / 1.398 GB, free: 13.8 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.043e-05/0.7097, allocations: 84.22 kB / 1.398 GB, free: 13.71 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.7098, allocations: 189.8 kB / 1.398 GB, free: 13.5 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.466e-05/0.7099, allocations: 150.9 kB / 1.398 GB, free: 13.36 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.542e-05/0.71, allocations: 154.9 kB / 1.399 GB, free: 13.2 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.7101, allocations: 105.1 kB / 1.399 GB, free: 13.09 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.391e-05/0.7101, allocations: 75.28 kB / 1.399 GB, free: 13.02 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.7102, allocations: 158.4 kB / 1.399 GB, free: 12.86 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-05/0.7103, allocations: 154.6 kB / 1.399 GB, free: 12.71 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.708e-05/0.7104, allocations: 154.6 kB / 1.399 GB, free: 12.56 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003265/0.7107, allocations: 401.6 kB / 1.4 GB, free: 12.14 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.7108, allocations: 165.1 kB / 1.4 GB, free: 11.96 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.217e-05/0.7109, allocations: 92.08 kB / 1.4 GB, free: 11.87 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 4.231e-05/0.7109, allocations: 75.28 kB / 1.4 GB, free: 11.8 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/0.711, allocations: 109.8 kB / 1.4 GB, free: 11.68 MB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.711, allocations: 0 / 1.4 GB, free: 11.68 MB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 8.569e-05/0.7111, allocations: 33.64 kB / 1.4 GB, free: 11.64 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.7112, allocations: 207.8 kB / 1.4 GB, free: 11.41 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.7113, allocations: 101.8 kB / 1.4 GB, free: 11.3 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.7114, allocations: 25.7 kB / 1.4 GB, free: 11.27 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.7114, allocations: 80.14 kB / 1.4 GB, free: 11.18 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.7114, allocations: 0 / 1.4 GB, free: 11.18 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.7114, allocations: 13.72 kB / 1.4 GB, free: 11.16 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.7116, allocations: 318.8 kB / 1.401 GB, free: 10.84 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.259e-06/0.7116, allocations: 4 kB / 1.401 GB, free: 10.84 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.318e-05/0.7117, allocations: 103.6 kB / 1.401 GB, free: 10.71 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.188e-05/0.7117, allocations: 75.28 kB / 1.401 GB, free: 10.64 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.183e-05/0.7118, allocations: 75.28 kB / 1.401 GB, free: 10.56 MB / 1.092 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.972e-05/0.7118, allocations: 29.7 kB / 1.401 GB, free: 10.53 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 5.13e-05/0.7119, allocations: 83.22 kB / 1.401 GB, free: 10.45 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.954e-05/0.7119, allocations: 79.22 kB / 1.401 GB, free: 10.37 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.832e-05/0.712, allocations: 158.5 kB / 1.401 GB, free: 10.21 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.833e-05/0.712, allocations: 79.28 kB / 1.401 GB, free: 10.13 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.752e-05/0.7121, allocations: 154.5 kB / 1.402 GB, free: 9.98 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.7123, allocations: 87.22 kB / 1.402 GB, free: 9.895 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/0.7123, allocations: 79.22 kB / 1.402 GB, free: 9.816 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.0001762/0.7125, allocations: 261.5 kB / 1.402 GB, free: 9.551 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.263e-05/0.7126, allocations: 116.9 kB / 1.402 GB, free: 9.43 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.155e-05/0.7127, allocations: 104.1 kB / 1.402 GB, free: 9.316 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.648e-05/0.7128, allocations: 180.2 kB / 1.402 GB, free: 9.133 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.049e-05/0.7128, allocations: 184.3 kB / 1.402 GB, free: 8.945 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.549e-05/0.7129, allocations: 180.2 kB / 1.403 GB, free: 8.762 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.7132, allocations: 356.9 kB / 1.403 GB, free: 8.375 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-05/0.7132, allocations: 108.9 kB / 1.403 GB, free: 8.262 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.412e-05/0.7133, allocations: 108.9 kB / 1.403 GB, free: 8.148 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.052e-05/0.7134, allocations: 180.2 kB / 1.403 GB, free: 7.965 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.335e-05/0.7135, allocations: 188.1 kB / 1.404 GB, free: 7.773 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001102/0.7136, allocations: 180.3 kB / 1.404 GB, free: 7.59 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.002e-05/0.7137, allocations: 180.3 kB / 1.404 GB, free: 7.406 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.7139, allocations: 303.8 kB / 1.404 GB, free: 7.086 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/0.7139, allocations: 112.9 kB / 1.404 GB, free: 6.969 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.7141, allocations: 180.2 kB / 1.404 GB, free: 6.785 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.7142, allocations: 109 kB / 1.405 GB, free: 6.672 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.697e-05/0.7143, allocations: 184.4 kB / 1.405 GB, free: 6.484 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.992e-05/0.7144, allocations: 105 kB / 1.405 GB, free: 6.375 MB / 1.092 GB Notification: Performance of sorting global known variables: time 5.053e-05/0.7144, allocations: 83.27 kB / 1.405 GB, free: 6.293 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/0.7144, allocations: 0 / 1.405 GB, free: 6.293 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002642/0.7147, allocations: 4 kB / 1.405 GB, free: 6.289 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.000164/0.7148, allocations: 170.5 kB / 1.405 GB, free: 6.109 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 5.593e-05/0.7149, allocations: 11.92 kB / 1.405 GB, free: 6.098 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.7149, allocations: 4 kB / 1.405 GB, free: 6.094 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.7149, allocations: 0 / 1.405 GB, free: 6.094 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.7153, allocations: 461.4 kB / 1.406 GB, free: 5.641 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/0.7157, allocations: 186.6 kB / 1.406 GB, free: 5.426 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.33e-05/0.7157, allocations: 59.34 kB / 1.406 GB, free: 5.348 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.382e-05/0.7157, allocations: 7.438 kB / 1.406 GB, free: 5.34 MB / 1.092 GB Notification: Performance of SimCode: time 2.9e-07/0.7157, allocations: 0 / 1.406 GB, free: 5.34 MB / 1.092 GB Notification: Performance of Templates: time 0.00388/0.7196, allocations: 483.8 kB / 1.406 GB, free: 4.867 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 -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: 12.029389586299658]