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.001546/0.001546, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001826/0.001826, allocations: 216.5 kB / 22.25 MB, free: 4.855 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.39/1.39, allocations: 230.6 MB / 256 MB, free: 7.809 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 2.972/2.972, allocations: 0.4892 GB / 0.7943 GB, free: 35.44 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.002019/0.002019, allocations: 66.39 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3299, allocations: 176.1 MB / 1.325 GB, free: 2.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002313/0.3322, allocations: 1.27 MB / 1.326 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00212/0.3343, allocations: 1.323 MB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.007e-05/0.3343, allocations: 4 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.3344, allocations: 0 / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007174/0.3351, allocations: 215.3 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001083/0.3352, allocations: 31.95 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.116e-05/0.3352, allocations: 11.94 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.3353, allocations: 3.984 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.469e-05/0.3353, allocations: 11.98 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2475/0.5829, allocations: 31.05 MB / 1.358 GB, free: 2.953 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.5829, allocations: 4 kB / 1.358 GB, free: 2.949 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.5829, allocations: 4 kB / 1.358 GB, free: 2.945 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.5829, allocations: 4 kB / 1.358 GB, free: 2.941 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.5829, allocations: 4 kB / 1.358 GB, free: 2.938 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.5831, allocations: 11.92 kB / 1.358 GB, free: 2.926 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.5831, allocations: 0 / 1.358 GB, free: 2.926 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5831, allocations: 0 / 1.358 GB, free: 2.926 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.5831, allocations: 3.938 kB / 1.358 GB, free: 2.922 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.0002981/0.5834, allocations: 246.4 kB / 1.358 GB, free: 2.652 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.5834, allocations: 8.031 kB / 1.358 GB, free: 2.645 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.254e-05/0.5835, allocations: 121.9 kB / 1.359 GB, free: 2.516 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.5836, allocations: 76.22 kB / 1.359 GB, free: 2.441 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.5837, allocations: 185.8 kB / 1.359 GB, free: 2.234 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.41e-05/0.5838, allocations: 154.9 kB / 1.359 GB, free: 2.082 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.715e-05/0.5838, allocations: 150.9 kB / 1.359 GB, free: 1.934 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.588e-05/0.5839, allocations: 108.9 kB / 1.359 GB, free: 1.82 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.32e-05/0.5839, allocations: 79.28 kB / 1.359 GB, free: 1.742 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-05/0.584, allocations: 154.6 kB / 1.359 GB, free: 1.59 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.745e-05/0.584, allocations: 150.6 kB / 1.36 GB, free: 1.441 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.474e-05/0.5841, allocations: 154.5 kB / 1.36 GB, free: 1.289 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002899/0.5844, allocations: 421 kB / 1.36 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.508e-05/0.5845, allocations: 173.1 kB / 1.36 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.982e-05/0.5845, allocations: 80.14 kB / 1.36 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.5846, allocations: 79.22 kB / 1.36 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.231e-05/0.5846, allocations: 113.8 kB / 1.361 GB, free: 384 kB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.5846, allocations: 0 / 1.361 GB, free: 384 kB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.6e-05/0.5847, allocations: 33.7 kB / 1.361 GB, free: 344 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.5848, allocations: 203.8 kB / 1.361 GB, free: 108 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.5849, allocations: 97.84 kB / 1.361 GB, free: 0 / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.585, allocations: 25.7 kB / 1.361 GB, free: 15.97 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.251e-05/0.585, allocations: 88.14 kB / 1.361 GB, free: 15.88 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.585, allocations: 4 kB / 1.361 GB, free: 15.88 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.5851, allocations: 13.72 kB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.5852, allocations: 310.8 kB / 1.361 GB, free: 15.54 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-06/0.5852, allocations: 0 / 1.361 GB, free: 15.54 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.886e-05/0.5853, allocations: 103.7 kB / 1.361 GB, free: 15.41 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.589e-05/0.5853, allocations: 79.22 kB / 1.361 GB, free: 15.34 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.894e-05/0.5853, allocations: 75.28 kB / 1.362 GB, free: 15.26 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.899e-05/0.5854, allocations: 37.59 kB / 1.362 GB, free: 15.22 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.593e-05/0.5854, allocations: 83.28 kB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.203e-05/0.5855, allocations: 75.28 kB / 1.362 GB, free: 15.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.38e-05/0.5855, allocations: 154.5 kB / 1.362 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.331e-05/0.5856, allocations: 87.27 kB / 1.362 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-05/0.5856, allocations: 158.4 kB / 1.362 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.5858, allocations: 83.28 kB / 1.362 GB, free: 14.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.5858, allocations: 75.28 kB / 1.362 GB, free: 14.51 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.000137/0.586, allocations: 260.4 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.091e-05/0.586, allocations: 112.8 kB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.059e-05/0.5861, allocations: 108.4 kB / 1.363 GB, free: 14.01 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.821e-05/0.5862, allocations: 192.2 kB / 1.363 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.149e-05/0.5862, allocations: 176.3 kB / 1.363 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.121e-05/0.5863, allocations: 180.3 kB / 1.363 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.5866, allocations: 388.2 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.397e-05/0.5866, allocations: 104.9 kB / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.555e-05/0.5866, allocations: 104.9 kB / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.969e-05/0.5867, allocations: 176.3 kB / 1.364 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.53e-05/0.5868, allocations: 184.2 kB / 1.364 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-05/0.5869, allocations: 180.2 kB / 1.364 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-05/0.5869, allocations: 180.3 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.5871, allocations: 307.8 kB / 1.365 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.5871, allocations: 104.9 kB / 1.365 GB, free: 11.63 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.561e-05/0.5872, allocations: 188.2 kB / 1.365 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.5874, allocations: 113 kB / 1.365 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/0.5874, allocations: 184.2 kB / 1.365 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.566e-05/0.5875, allocations: 105 kB / 1.365 GB, free: 11.03 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.531e-05/0.5875, allocations: 79.28 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.5875, allocations: 0 / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002593/0.5878, allocations: 4 kB / 1.366 GB, free: 10.95 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.0004467/0.5882, allocations: 0.8087 MB / 1.366 GB, free: 10.11 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 4.746e-05/0.5883, allocations: 4 kB / 1.366 GB, free: 10.1 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5883, allocations: 0 / 1.366 GB, free: 10.1 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.5883, allocations: 4 kB / 1.366 GB, free: 10.1 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.5887, allocations: 463.6 kB / 1.367 GB, free: 9.641 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004297/0.5891, allocations: 199.1 kB / 1.367 GB, free: 9.406 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.142e-05/0.5892, allocations: 59.3 kB / 1.367 GB, free: 9.328 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.759e-05/0.5892, allocations: 0 / 1.367 GB, free: 9.328 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.5892, allocations: 11.44 kB / 1.367 GB, free: 9.316 MB / 1.061 GB Notification: Performance of SimCode: time 6.62e-07/0.5892, allocations: 0 / 1.367 GB, free: 9.316 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03054/0.6198, allocations: 1.836 MB / 1.369 GB, free: 7.555 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.28, allocations: 6.688 kB / 1.369 GB, free: 7.551 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.58873237017542]