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.001952/0.001952, allocations: 100.8 kB / 16.45 MB, free: 6.449 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.002255/0.002255, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.415/1.415, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.197/3.197, allocations: 0.505 GB / 0.8066 GB, free: 23.07 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: "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_latest_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.002238/0.002238, allocations: 69.5 kB / 1.172 GB, free: 17.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3438, allocations: 180.2 MB / 1.348 GB, free: 10.11 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002577/0.3464, allocations: 1.255 MB / 1.349 GB, free: 8.848 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002066/0.3484, allocations: 1.266 MB / 1.35 GB, free: 7.574 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.651e-05/0.3484, allocations: 0 / 1.35 GB, free: 7.574 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.3485, allocations: 4 kB / 1.35 GB, free: 7.57 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0007992/0.3493, allocations: 211.3 kB / 1.35 GB, free: 7.363 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001183/0.3494, allocations: 34.89 kB / 1.35 GB, free: 7.332 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.55e-05/0.3494, allocations: 11.98 kB / 1.35 GB, free: 7.32 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.65e-05/0.3495, allocations: 0 / 1.35 GB, free: 7.32 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.443e-05/0.3495, allocations: 11.94 kB / 1.35 GB, free: 7.309 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2499/0.5994, allocations: 31 MB / 1.381 GB, free: 10.63 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.5994, allocations: 8 kB / 1.381 GB, free: 10.62 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.5994, allocations: 0 / 1.381 GB, free: 10.62 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.5995, allocations: 0 / 1.381 GB, free: 10.62 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.5995, allocations: 4 kB / 1.381 GB, free: 10.62 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.5996, allocations: 15.91 kB / 1.381 GB, free: 10.61 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5996, allocations: 0 / 1.381 GB, free: 10.61 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5996, allocations: 0 / 1.381 GB, free: 10.61 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.5996, allocations: 0 / 1.381 GB, free: 10.61 MB / 1.076 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.0003567/0.6, allocations: 323.5 kB / 1.381 GB, free: 10.24 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.6, allocations: 15.98 kB / 1.381 GB, free: 10.23 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.675e-05/0.6001, allocations: 106 kB / 1.381 GB, free: 10.11 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.585e-05/0.6002, allocations: 80.22 kB / 1.381 GB, free: 10.04 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.6004, allocations: 239.7 kB / 1.381 GB, free: 9.762 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.533e-05/0.6004, allocations: 150.9 kB / 1.382 GB, free: 9.613 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.344e-05/0.6005, allocations: 150.9 kB / 1.382 GB, free: 9.465 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.493e-05/0.6006, allocations: 116.8 kB / 1.382 GB, free: 9.344 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.649e-05/0.6006, allocations: 83.28 kB / 1.382 GB, free: 9.262 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.964e-05/0.6007, allocations: 150.6 kB / 1.382 GB, free: 9.113 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.614e-05/0.6007, allocations: 150.6 kB / 1.382 GB, free: 8.965 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.793e-05/0.6008, allocations: 150.6 kB / 1.382 GB, free: 8.816 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003121/0.6011, allocations: 450 kB / 1.383 GB, free: 8.328 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.95e-05/0.6012, allocations: 169.1 kB / 1.383 GB, free: 8.152 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.132e-05/0.6013, allocations: 80.14 kB / 1.383 GB, free: 8.07 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/0.6013, allocations: 83.2 kB / 1.383 GB, free: 7.988 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.667e-05/0.6014, allocations: 109.8 kB / 1.383 GB, free: 7.871 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.6014, allocations: 4 kB / 1.383 GB, free: 7.867 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 8.561e-05/0.6014, allocations: 37.66 kB / 1.383 GB, free: 7.824 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.6016, allocations: 207.7 kB / 1.383 GB, free: 7.59 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.6017, allocations: 97.86 kB / 1.384 GB, free: 7.484 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.6017, allocations: 29.69 kB / 1.384 GB, free: 7.449 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.6017, allocations: 84.14 kB / 1.384 GB, free: 7.363 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.6017, allocations: 0 / 1.384 GB, free: 7.363 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.6018, allocations: 13.72 kB / 1.384 GB, free: 7.344 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6019, allocations: 318.8 kB / 1.384 GB, free: 7.023 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.188e-06/0.6019, allocations: 0 / 1.384 GB, free: 7.023 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.942e-05/0.602, allocations: 22.52 kB / 1.384 GB, free: 6.992 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.38e-05/0.602, allocations: 79.27 kB / 1.384 GB, free: 6.914 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.97e-05/0.602, allocations: 75.28 kB / 1.384 GB, free: 6.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.627e-05/0.6021, allocations: 33.64 kB / 1.384 GB, free: 6.801 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.258e-05/0.6021, allocations: 79.28 kB / 1.384 GB, free: 6.723 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.712e-05/0.6022, allocations: 87.16 kB / 1.384 GB, free: 6.637 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.764e-05/0.6022, allocations: 158.6 kB / 1.385 GB, free: 6.48 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.123e-05/0.6023, allocations: 79.22 kB / 1.385 GB, free: 6.402 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.415e-05/0.6023, allocations: 154.6 kB / 1.385 GB, free: 6.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.6025, allocations: 83.27 kB / 1.385 GB, free: 6.168 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.6025, allocations: 79.22 kB / 1.385 GB, free: 6.09 MB / 1.076 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.0001409/0.6027, allocations: 264.4 kB / 1.385 GB, free: 5.82 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-05/0.6028, allocations: 104.9 kB / 1.385 GB, free: 5.711 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.495e-05/0.6028, allocations: 116 kB / 1.385 GB, free: 5.586 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.299e-05/0.6029, allocations: 180.3 kB / 1.386 GB, free: 5.402 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.229e-05/0.603, allocations: 176.3 kB / 1.386 GB, free: 5.223 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.109e-05/0.603, allocations: 184.2 kB / 1.386 GB, free: 5.035 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.6033, allocations: 405.2 kB / 1.386 GB, free: 4.582 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.503e-05/0.6033, allocations: 108.9 kB / 1.386 GB, free: 4.469 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.6034, allocations: 101 kB / 1.386 GB, free: 4.363 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.092e-05/0.6035, allocations: 176.5 kB / 1.387 GB, free: 4.184 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-05/0.6035, allocations: 192.2 kB / 1.387 GB, free: 3.988 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-05/0.6036, allocations: 176.3 kB / 1.387 GB, free: 3.809 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.636e-05/0.6037, allocations: 184.2 kB / 1.387 GB, free: 3.621 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.6038, allocations: 307.8 kB / 1.387 GB, free: 3.297 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.945e-05/0.6039, allocations: 190 kB / 1.388 GB, free: 3.086 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.877e-05/0.604, allocations: 184.3 kB / 1.388 GB, free: 2.898 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.6042, allocations: 112.9 kB / 1.388 GB, free: 2.781 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/0.6043, allocations: 180.2 kB / 1.388 GB, free: 2.598 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-05/0.6043, allocations: 104.9 kB / 1.388 GB, free: 2.488 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.153e-05/0.6044, allocations: 79.28 kB / 1.388 GB, free: 2.41 MB / 1.076 GB Notification: Performance of sort global known variables: time 5e-08/0.6044, allocations: 0 / 1.388 GB, free: 2.41 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002423/0.6046, allocations: 8 kB / 1.388 GB, free: 2.402 MB / 1.076 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.0004648/0.6051, allocations: 0.8079 MB / 1.389 GB, free: 1.566 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 5.409e-05/0.6051, allocations: 0 / 1.389 GB, free: 1.566 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6051, allocations: 0 / 1.389 GB, free: 1.566 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.6051, allocations: 7.938 kB / 1.389 GB, free: 1.559 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.6055, allocations: 463.6 kB / 1.39 GB, free: 1.102 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004707/0.606, allocations: 195 kB / 1.39 GB, free: 0.8711 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.6063, allocations: 0.6767 MB / 1.39 GB, free: 172 kB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.427e-05/0.6063, allocations: 7.938 kB / 1.39 GB, free: 164 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.21e-05/0.6063, allocations: 11.44 kB / 1.39 GB, free: 156 kB / 1.076 GB Notification: Performance of SimCode: time 6.51e-07/0.6063, allocations: 0 / 1.39 GB, free: 156 kB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0272/0.6335, allocations: 1.273 MB / 1.392 GB, free: 14.93 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.625/8.259, allocations: 5.875 kB / 1.392 GB, free: 14.93 MB / 1.092 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.csv","/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: 14.979935758979991]