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.001861/0.001861, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002451/0.002451, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.402/1.402, allocations: 230.6 MB / 256 MB, free: 8.051 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.031/3.031, allocations: 0.505 GB / 0.8101 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 177] 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.001963/0.001963, allocations: 73.02 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3441, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.0022/0.3463, allocations: 1.268 MB / 1.354 GB, free: 7.176 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002008/0.3483, allocations: 1.359 MB / 1.355 GB, free: 5.812 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.71e-05/0.3483, allocations: 0 / 1.355 GB, free: 5.812 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.778e-05/0.3484, allocations: 0 / 1.355 GB, free: 5.812 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0006927/0.3491, allocations: 215.2 kB / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001056/0.3492, allocations: 32.45 kB / 1.356 GB, free: 5.57 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.884e-05/0.3492, allocations: 15.92 kB / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.3493, allocations: 4 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.071e-05/0.3493, allocations: 11.98 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2443/0.5936, allocations: 31.05 MB / 1.386 GB, free: 8.82 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.5936, allocations: 0 / 1.386 GB, free: 8.82 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.5936, allocations: 0 / 1.386 GB, free: 8.82 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.5936, allocations: 7.984 kB / 1.386 GB, free: 8.812 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.719e-05/0.5936, allocations: 0 / 1.386 GB, free: 8.812 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.5938, allocations: 19.81 kB / 1.386 GB, free: 8.793 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.5938, allocations: 7.984 kB / 1.386 GB, free: 8.785 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5938, allocations: 4 kB / 1.386 GB, free: 8.781 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.5938, allocations: 0 / 1.386 GB, free: 8.781 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.0002969/0.5941, allocations: 234.5 kB / 1.386 GB, free: 8.523 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.5941, allocations: 12.03 kB / 1.386 GB, free: 8.512 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.127e-05/0.5942, allocations: 106 kB / 1.386 GB, free: 8.398 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.083e-05/0.5943, allocations: 80.2 kB / 1.386 GB, free: 8.32 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.5944, allocations: 189.8 kB / 1.387 GB, free: 8.109 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.163e-05/0.5945, allocations: 154.9 kB / 1.387 GB, free: 7.957 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.579e-05/0.5945, allocations: 150.9 kB / 1.387 GB, free: 7.809 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.274e-05/0.5946, allocations: 112.9 kB / 1.387 GB, free: 7.691 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/0.5946, allocations: 75.28 kB / 1.387 GB, free: 7.617 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.818e-05/0.5947, allocations: 154.6 kB / 1.387 GB, free: 7.465 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-05/0.5948, allocations: 158.6 kB / 1.387 GB, free: 7.309 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.313e-05/0.5948, allocations: 150.6 kB / 1.388 GB, free: 7.16 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000289/0.5951, allocations: 417 kB / 1.388 GB, free: 6.711 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.249e-05/0.5952, allocations: 173.1 kB / 1.388 GB, free: 6.531 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.941e-05/0.5952, allocations: 84.14 kB / 1.388 GB, free: 6.445 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.65e-05/0.5953, allocations: 79.22 kB / 1.388 GB, free: 6.367 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.536e-05/0.5953, allocations: 105.8 kB / 1.388 GB, free: 6.254 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.5953, allocations: 0 / 1.388 GB, free: 6.254 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 8.077e-05/0.5954, allocations: 33.7 kB / 1.388 GB, free: 6.215 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.5955, allocations: 211.7 kB / 1.389 GB, free: 5.977 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.5956, allocations: 101.8 kB / 1.389 GB, free: 5.867 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.5957, allocations: 25.7 kB / 1.389 GB, free: 5.836 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.5957, allocations: 88.12 kB / 1.389 GB, free: 5.746 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.5957, allocations: 0 / 1.389 GB, free: 5.746 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.5957, allocations: 17.72 kB / 1.389 GB, free: 5.723 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5959, allocations: 314.8 kB / 1.389 GB, free: 5.406 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.769e-06/0.5959, allocations: 0 / 1.389 GB, free: 5.406 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.673e-05/0.5959, allocations: 18.58 kB / 1.389 GB, free: 5.379 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.327e-05/0.5959, allocations: 79.28 kB / 1.389 GB, free: 5.301 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.909e-05/0.596, allocations: 75.28 kB / 1.389 GB, free: 5.227 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.057e-05/0.596, allocations: 33.64 kB / 1.389 GB, free: 5.188 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/0.5961, allocations: 79.28 kB / 1.389 GB, free: 5.109 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-05/0.5961, allocations: 87.16 kB / 1.389 GB, free: 5.023 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.086e-05/0.5962, allocations: 158.5 kB / 1.39 GB, free: 4.867 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.658e-05/0.5962, allocations: 79.22 kB / 1.39 GB, free: 4.789 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.816e-05/0.5963, allocations: 158.5 kB / 1.39 GB, free: 4.633 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.5964, allocations: 79.28 kB / 1.39 GB, free: 4.555 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.5965, allocations: 79.22 kB / 1.39 GB, free: 4.477 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.0001405/0.5966, allocations: 272.3 kB / 1.39 GB, free: 4.199 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.794e-05/0.5967, allocations: 109.1 kB / 1.39 GB, free: 4.086 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.359e-05/0.5967, allocations: 112.1 kB / 1.39 GB, free: 3.969 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-05/0.5968, allocations: 188.3 kB / 1.391 GB, free: 3.777 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.102e-05/0.5969, allocations: 180.2 kB / 1.391 GB, free: 3.594 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.634e-05/0.5969, allocations: 176.3 kB / 1.391 GB, free: 3.414 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.5972, allocations: 376.3 kB / 1.391 GB, free: 2.996 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.743e-05/0.5972, allocations: 112.9 kB / 1.391 GB, free: 2.879 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.5973, allocations: 105 kB / 1.392 GB, free: 2.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.325e-05/0.5973, allocations: 184.2 kB / 1.392 GB, free: 2.582 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.11e-05/0.5974, allocations: 180.3 kB / 1.392 GB, free: 2.398 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-05/0.5975, allocations: 176.3 kB / 1.392 GB, free: 2.219 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-05/0.5975, allocations: 180.2 kB / 1.392 GB, free: 2.035 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.5977, allocations: 311.8 kB / 1.393 GB, free: 1.707 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.5977, allocations: 112.9 kB / 1.393 GB, free: 1.59 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.158e-05/0.5978, allocations: 176.3 kB / 1.393 GB, free: 1.41 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.598, allocations: 112.9 kB / 1.393 GB, free: 1.293 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.46e-05/0.598, allocations: 180.3 kB / 1.393 GB, free: 1.109 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.773e-05/0.5981, allocations: 116.9 kB / 1.393 GB, free: 0.9883 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.462e-05/0.5981, allocations: 75.28 kB / 1.393 GB, free: 0.9141 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.5981, allocations: 0 / 1.393 GB, free: 0.9141 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002401/0.5984, allocations: 4 kB / 1.393 GB, free: 0.9102 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.0004349/0.5988, allocations: 0.8087 MB / 1.394 GB, free: 72 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 5.109e-05/0.5989, allocations: 3.938 kB / 1.394 GB, free: 68 kB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5989, allocations: 0 / 1.394 GB, free: 68 kB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.5989, allocations: 0 / 1.394 GB, free: 68 kB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.5992, allocations: 459.6 kB / 1.395 GB, free: 15.61 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004341/0.5997, allocations: 195.2 kB / 1.395 GB, free: 15.38 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007801/0.6004, allocations: 0.6728 MB / 1.395 GB, free: 14.68 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 3.497e-05/0.6005, allocations: 11.92 kB / 1.395 GB, free: 14.67 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.079e-05/0.6005, allocations: 7.438 kB / 1.395 GB, free: 14.67 MB / 1.092 GB Notification: Performance of SimCode: time 5.2e-07/0.6005, allocations: 0 / 1.395 GB, free: 14.67 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03569/0.6362, allocations: 1.367 MB / 1.397 GB, free: 13.4 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.963/10.6, allocations: 6.234 kB / 1.397 GB, free: 13.39 MB / 1.092 GB " [Timeout remaining time 289] (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: 17.110876255999756]