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.001266/0.001266, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001385/0.001385, allocations: 215.9 kB / 23.04 MB, free: 5.074 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.354/1.354, allocations: 230.6 MB / 256.8 MB, free: 8 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.054/3.054, allocations: 0.5003 GB / 0.8061 GB, free: 26.89 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="cs",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.001919/0.001919, allocations: 66.28 kB / 1.171 GB, free: 19.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.353, allocations: 179 MB / 1.345 GB, free: 456 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.00227/0.3553, allocations: 1.265 MB / 1.347 GB, free: 15.17 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002039/0.3573, allocations: 1.348 MB / 1.348 GB, free: 13.81 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.765e-05/0.3573, allocations: 0 / 1.348 GB, free: 13.81 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.3574, allocations: 7.938 kB / 1.348 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0006096/0.358, allocations: 207.3 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001183/0.3581, allocations: 34.08 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.097e-05/0.3581, allocations: 11.94 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.3582, allocations: 3.984 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.496e-05/0.3582, allocations: 19.92 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2435/0.6017, allocations: 31.05 MB / 1.378 GB, free: 0.8047 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.6018, allocations: 4 kB / 1.378 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.6018, allocations: 0 / 1.378 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.141e-05/0.6018, allocations: 7.984 kB / 1.378 GB, free: 0.793 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.483e-05/0.6018, allocations: 4 kB / 1.378 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.602, allocations: 15.86 kB / 1.378 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.602, allocations: 0 / 1.378 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.625e-06/0.602, allocations: 0 / 1.378 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.058e-05/0.6021, allocations: 0 / 1.378 GB, free: 0.7734 MB / 1.061 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.0004132/0.6025, allocations: 246.5 kB / 1.379 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.6025, allocations: 11.97 kB / 1.379 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.4e-05/0.6026, allocations: 83.31 kB / 1.379 GB, free: 424 kB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.39e-05/0.6026, allocations: 106 kB / 1.379 GB, free: 308 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.774e-05/0.6027, allocations: 76.22 kB / 1.379 GB, free: 232 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.6029, allocations: 181.8 kB / 1.379 GB, free: 24 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.603, allocations: 162.9 kB / 1.379 GB, free: 15.86 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-05/0.6031, allocations: 154.7 kB / 1.379 GB, free: 15.71 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.81e-05/0.6032, allocations: 109 kB / 1.38 GB, free: 15.6 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.842e-05/0.6032, allocations: 75.28 kB / 1.38 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-05/0.6033, allocations: 150.6 kB / 1.38 GB, free: 15.38 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.54e-05/0.6034, allocations: 150.6 kB / 1.38 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.238e-05/0.6035, allocations: 158.5 kB / 1.38 GB, free: 15.07 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006746/0.6041, allocations: 421 kB / 1.38 GB, free: 14.62 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.6042, allocations: 165.1 kB / 1.381 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.116e-05/0.6043, allocations: 88.06 kB / 1.381 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.901e-05/0.6043, allocations: 87.28 kB / 1.381 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.529e-05/0.6044, allocations: 109.8 kB / 1.381 GB, free: 14.15 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.6044, allocations: 0 / 1.381 GB, free: 14.15 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 8.324e-05/0.6045, allocations: 33.64 kB / 1.381 GB, free: 14.11 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.6046, allocations: 207.8 kB / 1.381 GB, free: 13.88 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.6047, allocations: 97.86 kB / 1.381 GB, free: 13.77 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.6047, allocations: 29.7 kB / 1.381 GB, free: 13.74 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.668e-05/0.6048, allocations: 80.14 kB / 1.381 GB, free: 13.66 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/0.6048, allocations: 0 / 1.381 GB, free: 13.66 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.6048, allocations: 17.7 kB / 1.381 GB, free: 13.63 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.605, allocations: 314.8 kB / 1.382 GB, free: 13.32 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-06/0.605, allocations: 3.938 kB / 1.382 GB, free: 13.31 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.123e-05/0.605, allocations: 22.52 kB / 1.382 GB, free: 13.28 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.525e-05/0.6051, allocations: 79.28 kB / 1.382 GB, free: 13.2 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.469e-05/0.6051, allocations: 75.28 kB / 1.382 GB, free: 13.13 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.022e-05/0.6051, allocations: 33.64 kB / 1.382 GB, free: 13.09 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.633e-05/0.6052, allocations: 87.27 kB / 1.382 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.414e-05/0.6052, allocations: 75.28 kB / 1.382 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.511e-05/0.6053, allocations: 154.5 kB / 1.382 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.484e-05/0.6054, allocations: 75.28 kB / 1.382 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.809e-05/0.6054, allocations: 166.5 kB / 1.382 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.6056, allocations: 75.28 kB / 1.382 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.6056, allocations: 79.27 kB / 1.383 GB, free: 12.39 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.0001602/0.6058, allocations: 260.4 kB / 1.383 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.096e-05/0.6059, allocations: 112.9 kB / 1.383 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.199e-05/0.606, allocations: 115.9 kB / 1.383 GB, free: 11.88 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.56e-05/0.606, allocations: 184.2 kB / 1.383 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.868e-05/0.6061, allocations: 184.2 kB / 1.383 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.6e-05/0.6062, allocations: 180.3 kB / 1.384 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.6065, allocations: 376.2 kB / 1.384 GB, free: 10.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-05/0.6065, allocations: 109 kB / 1.384 GB, free: 10.79 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-05/0.6066, allocations: 108.9 kB / 1.384 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-05/0.6067, allocations: 176.3 kB / 1.384 GB, free: 10.5 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.504e-05/0.6067, allocations: 176.3 kB / 1.384 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.231e-05/0.6068, allocations: 184.2 kB / 1.385 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.181e-05/0.6069, allocations: 184.2 kB / 1.385 GB, free: 9.941 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.6071, allocations: 307.7 kB / 1.385 GB, free: 9.617 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-05/0.6071, allocations: 104.9 kB / 1.385 GB, free: 9.508 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.6073, allocations: 192.2 kB / 1.385 GB, free: 9.312 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.6074, allocations: 105 kB / 1.385 GB, free: 9.203 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.041e-05/0.6075, allocations: 184.2 kB / 1.386 GB, free: 9.016 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/0.6075, allocations: 105 kB / 1.386 GB, free: 8.906 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.415e-05/0.6076, allocations: 83.27 kB / 1.386 GB, free: 8.824 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.6076, allocations: 0 / 1.386 GB, free: 8.824 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002422/0.6078, allocations: 4 kB / 1.386 GB, free: 8.82 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.0004328/0.6082, allocations: 0.8052 MB / 1.387 GB, free: 7.984 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 5.362e-05/0.6083, allocations: 11.98 kB / 1.387 GB, free: 7.973 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6083, allocations: 3.938 kB / 1.387 GB, free: 7.969 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.6083, allocations: 0 / 1.387 GB, free: 7.969 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.6087, allocations: 459.6 kB / 1.387 GB, free: 7.516 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004396/0.6091, allocations: 198.5 kB / 1.387 GB, free: 7.281 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.6094, allocations: 0.6766 MB / 1.388 GB, free: 6.578 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.102e-05/0.6094, allocations: 4.375 kB / 1.388 GB, free: 6.574 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.042e-05/0.6095, allocations: 7.438 kB / 1.388 GB, free: 6.57 MB / 1.076 GB Notification: Performance of SimCode: time 4.2e-07/0.6095, allocations: 0 / 1.388 GB, free: 6.57 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.6318, allocations: 1.385 MB / 1.389 GB, free: 5.293 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/10.99, allocations: 23.06 kB / 1.389 GB, free: 5.273 MB / 1.076 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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.375507968012244]