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.001576/0.001576, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001782/0.001782, allocations: 217.4 kB / 22.25 MB, free: 5.105 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.416/1.416, allocations: 230.6 MB / 256 MB, free: 7.82 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.034/3.034, allocations: 0.49 GB / 0.7951 GB, free: 35.54 MB / 0.6231 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: "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) [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.001938/0.001938, allocations: 66.84 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3329, allocations: 176.1 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002916/0.3358, allocations: 1.254 MB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002521/0.3383, allocations: 1.329 MB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.485e-05/0.3383, allocations: 0 / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.779e-05/0.3383, allocations: 0 / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0008873/0.3392, allocations: 211.3 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.3394, allocations: 50.83 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.374e-05/0.3394, allocations: 8 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.711e-05/0.3395, allocations: 0 / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.012e-05/0.3395, allocations: 11.92 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2466/0.5861, allocations: 31.06 MB / 1.359 GB, free: 2.059 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.5861, allocations: 0 / 1.359 GB, free: 2.059 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.151e-05/0.5861, allocations: 0 / 1.359 GB, free: 2.059 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.5861, allocations: 4 kB / 1.359 GB, free: 2.055 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.5862, allocations: 4 kB / 1.359 GB, free: 2.051 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.5863, allocations: 19.91 kB / 1.359 GB, free: 2.031 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5863, allocations: 4 kB / 1.359 GB, free: 2.027 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.435e-06/0.5863, allocations: 0 / 1.359 GB, free: 2.027 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.5863, allocations: 0 / 1.359 GB, free: 2.027 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.0003181/0.5866, allocations: 246.4 kB / 1.359 GB, free: 1.758 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.5867, allocations: 8.031 kB / 1.359 GB, free: 1.75 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.326e-05/0.5867, allocations: 106 kB / 1.359 GB, free: 1.637 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.473e-05/0.5868, allocations: 80.22 kB / 1.359 GB, free: 1.559 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.5869, allocations: 181.8 kB / 1.36 GB, free: 1.355 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.579e-05/0.587, allocations: 154.9 kB / 1.36 GB, free: 1.203 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.256e-05/0.5871, allocations: 154.9 kB / 1.36 GB, free: 1.051 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.946e-05/0.5872, allocations: 120.8 kB / 1.36 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/0.5872, allocations: 75.28 kB / 1.36 GB, free: 0.8516 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.862e-05/0.5873, allocations: 154.6 kB / 1.36 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.975e-05/0.5873, allocations: 150.6 kB / 1.36 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.074e-05/0.5874, allocations: 150.6 kB / 1.361 GB, free: 412 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.5877, allocations: 421 kB / 1.361 GB, free: 15.95 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.813e-05/0.5878, allocations: 169.1 kB / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.859e-05/0.5878, allocations: 80.14 kB / 1.361 GB, free: 15.69 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.784e-05/0.5878, allocations: 83.22 kB / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.818e-05/0.5879, allocations: 109.8 kB / 1.361 GB, free: 15.49 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.5879, allocations: 0 / 1.361 GB, free: 15.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.932e-05/0.588, allocations: 41.69 kB / 1.361 GB, free: 15.45 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.5881, allocations: 203.8 kB / 1.362 GB, free: 15.21 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.861e-05/0.5882, allocations: 97.8 kB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.5882, allocations: 25.7 kB / 1.362 GB, free: 15.08 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.5883, allocations: 84.14 kB / 1.362 GB, free: 14.99 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-06/0.5883, allocations: 4 kB / 1.362 GB, free: 14.99 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.5883, allocations: 13.7 kB / 1.362 GB, free: 14.97 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5884, allocations: 318.8 kB / 1.362 GB, free: 14.65 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.509e-06/0.5884, allocations: 0 / 1.362 GB, free: 14.65 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.165e-05/0.5885, allocations: 99.69 kB / 1.362 GB, free: 14.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.444e-05/0.5885, allocations: 79.28 kB / 1.362 GB, free: 14.45 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.803e-05/0.5886, allocations: 75.28 kB / 1.362 GB, free: 14.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.674e-05/0.5886, allocations: 37.62 kB / 1.362 GB, free: 14.33 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/0.5887, allocations: 79.28 kB / 1.362 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.601e-05/0.5887, allocations: 83.22 kB / 1.363 GB, free: 14.17 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.007e-05/0.5888, allocations: 150.8 kB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.374e-05/0.5888, allocations: 79.22 kB / 1.363 GB, free: 13.94 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.959e-05/0.5889, allocations: 154.6 kB / 1.363 GB, free: 13.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.589, allocations: 83.27 kB / 1.363 GB, free: 13.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.428e-05/0.589, allocations: 83.22 kB / 1.363 GB, free: 13.62 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.0001325/0.5892, allocations: 264.4 kB / 1.363 GB, free: 13.36 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.006e-05/0.5892, allocations: 112.9 kB / 1.363 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.658e-05/0.5893, allocations: 112 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-05/0.5894, allocations: 192.3 kB / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-05/0.5895, allocations: 176.3 kB / 1.364 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.035e-05/0.5895, allocations: 180.2 kB / 1.364 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.5897, allocations: 372.3 kB / 1.364 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.062e-05/0.5898, allocations: 116.9 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.5898, allocations: 101 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.349e-05/0.5899, allocations: 176.3 kB / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.53e-05/0.59, allocations: 188.2 kB / 1.365 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.533e-05/0.59, allocations: 176.3 kB / 1.365 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.241e-05/0.5901, allocations: 184.2 kB / 1.365 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.5903, allocations: 307.8 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.5903, allocations: 104.9 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.094e-05/0.5904, allocations: 184.2 kB / 1.366 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.5905, allocations: 108.9 kB / 1.366 GB, free: 10.44 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.031e-05/0.5906, allocations: 180.3 kB / 1.366 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/0.5907, allocations: 112.9 kB / 1.366 GB, free: 10.14 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.495e-05/0.5907, allocations: 83.27 kB / 1.366 GB, free: 10.06 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5907, allocations: 0 / 1.366 GB, free: 10.06 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002388/0.5909, allocations: 8 kB / 1.366 GB, free: 10.05 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.0004272/0.5914, allocations: 0.8009 MB / 1.367 GB, free: 9.219 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 5.058e-05/0.5914, allocations: 3.984 kB / 1.367 GB, free: 9.215 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5914, allocations: 4 kB / 1.367 GB, free: 9.211 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.116e-06/0.5914, allocations: 3.938 kB / 1.367 GB, free: 9.207 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.5918, allocations: 464.7 kB / 1.368 GB, free: 8.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004114/0.5922, allocations: 187.2 kB / 1.368 GB, free: 8.527 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.503e-05/0.5923, allocations: 63.28 kB / 1.368 GB, free: 8.445 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.832e-05/0.5923, allocations: 8 kB / 1.368 GB, free: 8.438 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.135e-05/0.5923, allocations: 7.438 kB / 1.368 GB, free: 8.43 MB / 1.061 GB Notification: Performance of SimCode: time 3.5e-07/0.5923, allocations: 0 / 1.368 GB, free: 8.43 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.6221, allocations: 1.854 MB / 1.37 GB, free: 6.648 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.94, allocations: 7.75 kB / 1.37 GB, free: 6.645 MB / 1.061 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.csv","/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: 17.406404123001266]