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.001498/0.001498, allocations: 109.2 kB / 16.46 MB, free: 6.453 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.001573/0.001573, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.55/1.55, allocations: 230.5 MB / 252.8 MB, free: 8.961 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.34/3.34, allocations: 0.4899 GB / 0.7916 GB, free: 33.27 MB / 0.6231 GB " [Timeout remaining time 176] 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.002108/0.002108, allocations: 70.23 kB / 1.149 GB, free: 26.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.442/0.4441, allocations: 176.1 MB / 1.321 GB, free: 2.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002694/0.4468, allocations: 1.264 MB / 1.322 GB, free: 1.574 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00224/0.449, allocations: 1.257 MB / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.361e-05/0.449, allocations: 3.938 kB / 1.324 GB, free: 312 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.228e-05/0.4491, allocations: 4 kB / 1.324 GB, free: 308 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0007674/0.4498, allocations: 207.3 kB / 1.324 GB, free: 100 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001126/0.4499, allocations: 33.7 kB / 1.324 GB, free: 68 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.419e-05/0.45, allocations: 11.94 kB / 1.324 GB, free: 56 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.609e-05/0.4501, allocations: 4 kB / 1.324 GB, free: 52 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.235e-05/0.4501, allocations: 15.92 kB / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.257/0.7071, allocations: 30.99 MB / 1.354 GB, free: 3.562 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.7071, allocations: 0 / 1.354 GB, free: 3.562 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/0.7072, allocations: 4 kB / 1.354 GB, free: 3.559 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.7072, allocations: 0 / 1.354 GB, free: 3.559 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.271e-05/0.7072, allocations: 7.984 kB / 1.354 GB, free: 3.551 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.7073, allocations: 11.92 kB / 1.354 GB, free: 3.539 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.7074, allocations: 4 kB / 1.354 GB, free: 3.535 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7074, allocations: 3.938 kB / 1.354 GB, free: 3.531 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.7074, allocations: 4 kB / 1.354 GB, free: 3.527 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.0003979/0.7078, allocations: 319.5 kB / 1.355 GB, free: 3.168 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.7078, allocations: 15.98 kB / 1.355 GB, free: 3.152 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.59e-05/0.7079, allocations: 84.16 kB / 1.355 GB, free: 3.07 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.7081, allocations: 239.7 kB / 1.355 GB, free: 2.797 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/0.7081, allocations: 150.9 kB / 1.355 GB, free: 2.648 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.328e-05/0.7082, allocations: 154.9 kB / 1.355 GB, free: 2.496 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.873e-05/0.7083, allocations: 105.1 kB / 1.355 GB, free: 2.387 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.039e-05/0.7083, allocations: 79.27 kB / 1.355 GB, free: 2.309 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.816e-05/0.7084, allocations: 154.6 kB / 1.356 GB, free: 2.156 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.737e-05/0.7085, allocations: 150.6 kB / 1.356 GB, free: 2.008 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.179e-05/0.7085, allocations: 154.5 kB / 1.356 GB, free: 1.855 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.7089, allocations: 446 kB / 1.356 GB, free: 1.371 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.709, allocations: 169.1 kB / 1.356 GB, free: 1.195 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.062e-05/0.709, allocations: 80.14 kB / 1.356 GB, free: 1.113 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/0.7091, allocations: 79.27 kB / 1.357 GB, free: 1.035 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.956e-05/0.7092, allocations: 121.8 kB / 1.357 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.7092, allocations: 0 / 1.357 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 9.772e-05/0.7093, allocations: 33.64 kB / 1.357 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/0.7094, allocations: 207.8 kB / 1.357 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.7095, allocations: 97.86 kB / 1.357 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.7096, allocations: 29.7 kB / 1.357 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.823e-05/0.7096, allocations: 84.12 kB / 1.357 GB, free: 416 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.7096, allocations: 0 / 1.357 GB, free: 416 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.7097, allocations: 13.72 kB / 1.357 GB, free: 396 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.7098, allocations: 310.8 kB / 1.357 GB, free: 76 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.901e-06/0.7098, allocations: 0 / 1.357 GB, free: 76 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.654e-05/0.7099, allocations: 26.58 kB / 1.357 GB, free: 40 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.17e-05/0.7099, allocations: 79.22 kB / 1.357 GB, free: 15.96 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.397e-05/0.71, allocations: 79.27 kB / 1.358 GB, free: 15.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.107e-05/0.71, allocations: 41.53 kB / 1.358 GB, free: 15.84 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.832e-05/0.7101, allocations: 83.19 kB / 1.358 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.145e-05/0.7101, allocations: 79.28 kB / 1.358 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-05/0.7102, allocations: 162.5 kB / 1.358 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.862e-05/0.7102, allocations: 79.28 kB / 1.358 GB, free: 15.44 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.357e-05/0.7103, allocations: 150.6 kB / 1.358 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.7105, allocations: 91.2 kB / 1.358 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.7105, allocations: 75.28 kB / 1.358 GB, free: 15.12 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.0001586/0.7107, allocations: 260.4 kB / 1.359 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.585e-05/0.7108, allocations: 112.9 kB / 1.359 GB, free: 14.74 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.114e-05/0.7108, allocations: 108.1 kB / 1.359 GB, free: 14.63 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-05/0.7109, allocations: 188.2 kB / 1.359 GB, free: 14.44 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-05/0.711, allocations: 180.2 kB / 1.359 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.163e-05/0.7111, allocations: 176.3 kB / 1.359 GB, free: 14.07 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/0.7114, allocations: 413.2 kB / 1.36 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.647e-05/0.7115, allocations: 101 kB / 1.36 GB, free: 13.51 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.877e-05/0.7115, allocations: 108.9 kB / 1.36 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.086e-05/0.7116, allocations: 180.2 kB / 1.36 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-05/0.7117, allocations: 176.3 kB / 1.36 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.195e-05/0.7118, allocations: 184.2 kB / 1.36 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.083e-05/0.7119, allocations: 188.3 kB / 1.361 GB, free: 12.65 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.712, allocations: 303.8 kB / 1.361 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.7121, allocations: 186 kB / 1.361 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.7122, allocations: 180.2 kB / 1.361 GB, free: 11.94 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.7124, allocations: 113 kB / 1.361 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.093e-05/0.7125, allocations: 184.2 kB / 1.361 GB, free: 11.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.616e-05/0.7126, allocations: 105 kB / 1.362 GB, free: 11.53 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.316e-05/0.7126, allocations: 75.28 kB / 1.362 GB, free: 11.45 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7126, allocations: 0 / 1.362 GB, free: 11.45 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002792/0.7129, allocations: 4 kB / 1.362 GB, free: 11.45 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.0001767/0.7131, allocations: 174.5 kB / 1.362 GB, free: 11.27 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.811e-05/0.7131, allocations: 8 kB / 1.362 GB, free: 11.26 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7131, allocations: 0 / 1.362 GB, free: 11.26 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.058e-06/0.7131, allocations: 3.938 kB / 1.362 GB, free: 11.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.7136, allocations: 463.6 kB / 1.362 GB, free: 10.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.7139, allocations: 168.8 kB / 1.362 GB, free: 10.61 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.7142, allocations: 0.6728 MB / 1.363 GB, free: 9.906 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.587e-05/0.7143, allocations: 4 kB / 1.363 GB, free: 9.902 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.189e-05/0.7143, allocations: 7.438 kB / 1.363 GB, free: 9.895 MB / 1.061 GB Notification: Performance of SimCode: time 8.52e-07/0.7143, allocations: 0 / 1.363 GB, free: 9.895 MB / 1.061 GB Notification: Performance of Templates: time 0.005241/0.7195, allocations: 0.5047 MB / 1.364 GB, free: 9.391 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 -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/jenkins/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: 9.757190643809736]