Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.001287/0.001287, allocations: 111 kB / 16.46 MB, free: 6.453 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: 213.7 kB / 19.43 MB, free: 3.625 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.475/1.475, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.11 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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.002921/0.002921, allocations: 65.84 kB / 1.172 GB, free: 17.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4586/0.4615, allocations: 180.2 MB / 1.348 GB, free: 9.965 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002747/0.4643, allocations: 1.288 MB / 1.349 GB, free: 8.668 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.4655, allocations: 0.7508 MB / 1.35 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.001e-05/0.4655, allocations: 0 / 1.35 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.697e-05/0.4656, allocations: 3.984 kB / 1.35 GB, free: 7.91 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002345/0.4658, allocations: 7.938 kB / 1.35 GB, free: 7.902 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.466, allocations: 54.23 kB / 1.35 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.051e-05/0.4661, allocations: 19.92 kB / 1.35 GB, free: 7.832 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.4661, allocations: 4 kB / 1.35 GB, free: 7.828 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.787e-05/0.4662, allocations: 11.98 kB / 1.35 GB, free: 7.816 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.4663, allocations: 19.92 kB / 1.35 GB, free: 7.797 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.4664, allocations: 0 / 1.35 GB, free: 7.797 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.747e-05/0.4664, allocations: 11.92 kB / 1.35 GB, free: 7.785 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.364e-05/0.4665, allocations: 4 kB / 1.35 GB, free: 7.781 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.4665, allocations: 11.92 kB / 1.35 GB, free: 7.77 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.4666, allocations: 24.19 kB / 1.35 GB, free: 7.746 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4666, allocations: 0 / 1.35 GB, free: 7.746 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4666, allocations: 0 / 1.35 GB, free: 7.746 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.4666, allocations: 4 kB / 1.35 GB, free: 7.742 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.0004049/0.467, allocations: 327.5 kB / 1.35 GB, free: 7.371 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.4671, allocations: 15.92 kB / 1.35 GB, free: 7.355 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.185e-05/0.4671, allocations: 106 kB / 1.35 GB, free: 7.242 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.316e-05/0.4672, allocations: 76.22 kB / 1.35 GB, free: 7.168 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.4674, allocations: 251.6 kB / 1.351 GB, free: 6.883 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.827e-05/0.4675, allocations: 150.9 kB / 1.351 GB, free: 6.734 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.81e-05/0.4676, allocations: 158.9 kB / 1.351 GB, free: 6.578 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.742e-05/0.4676, allocations: 109.5 kB / 1.351 GB, free: 6.465 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.631e-05/0.4677, allocations: 79.22 kB / 1.351 GB, free: 6.387 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.629e-05/0.4677, allocations: 150.6 kB / 1.351 GB, free: 6.238 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.955e-05/0.4678, allocations: 150.6 kB / 1.351 GB, free: 6.09 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.724e-05/0.4679, allocations: 154.6 kB / 1.352 GB, free: 5.938 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.4682, allocations: 449.9 kB / 1.352 GB, free: 5.449 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.4683, allocations: 177.1 kB / 1.352 GB, free: 5.266 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.68e-05/0.4684, allocations: 80.14 kB / 1.352 GB, free: 5.184 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.4684, allocations: 79.28 kB / 1.352 GB, free: 5.105 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.078e-05/0.4684, allocations: 109.8 kB / 1.352 GB, free: 4.988 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.4684, allocations: 0 / 1.352 GB, free: 4.988 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.582e-05/0.4685, allocations: 29.64 kB / 1.352 GB, free: 4.953 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.4686, allocations: 130.6 kB / 1.353 GB, free: 4.812 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.4687, allocations: 105.8 kB / 1.353 GB, free: 4.699 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.4688, allocations: 29.64 kB / 1.353 GB, free: 4.664 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.99e-05/0.4688, allocations: 88.14 kB / 1.353 GB, free: 4.574 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.4688, allocations: 0 / 1.353 GB, free: 4.574 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/0.4689, allocations: 25.69 kB / 1.353 GB, free: 4.543 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.469, allocations: 310.8 kB / 1.353 GB, free: 4.23 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.983e-05/0.469, allocations: 4 kB / 1.353 GB, free: 4.227 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.698e-05/0.469, allocations: 7.984 kB / 1.353 GB, free: 4.219 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.381e-05/0.4691, allocations: 16.86 kB / 1.353 GB, free: 4.199 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4691, allocations: 0 / 1.353 GB, free: 4.199 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001134/0.4692, allocations: 49.73 kB / 1.353 GB, free: 4.145 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.4692, allocations: 7.938 kB / 1.353 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.4692, allocations: 4 kB / 1.353 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.4692, allocations: 0 / 1.353 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.986e-06/0.4692, allocations: 3.938 kB / 1.353 GB, free: 4.129 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.4692, allocations: 0 / 1.353 GB, free: 4.129 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.785e-05/0.4693, allocations: 0 / 1.353 GB, free: 4.129 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.4693, allocations: 11.92 kB / 1.353 GB, free: 4.117 MB / 1.045 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001249/0.4695, allocations: 185.2 kB / 1.353 GB, free: 3.926 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.86e-05/0.4695, allocations: 116.9 kB / 1.354 GB, free: 3.805 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.879e-05/0.4696, allocations: 104.5 kB / 1.354 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-05/0.4697, allocations: 180.2 kB / 1.354 GB, free: 3.504 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.369e-05/0.4698, allocations: 181.1 kB / 1.354 GB, free: 3.32 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.539e-05/0.4698, allocations: 184.2 kB / 1.354 GB, free: 3.133 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.4701, allocations: 409.2 kB / 1.355 GB, free: 2.676 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.892e-05/0.4701, allocations: 105 kB / 1.355 GB, free: 2.566 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.762e-05/0.4702, allocations: 104.9 kB / 1.355 GB, free: 2.457 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.887e-05/0.4703, allocations: 180.4 kB / 1.355 GB, free: 2.273 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.411e-05/0.4704, allocations: 188.2 kB / 1.355 GB, free: 2.082 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.638e-05/0.4705, allocations: 184.3 kB / 1.355 GB, free: 1.895 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.074e-05/0.4705, allocations: 184.2 kB / 1.355 GB, free: 1.707 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.4707, allocations: 299.8 kB / 1.356 GB, free: 1.391 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.4708, allocations: 186 kB / 1.356 GB, free: 1.184 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-05/0.4709, allocations: 184.2 kB / 1.356 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.304e-05/0.471, allocations: 112.9 kB / 1.356 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/0.4711, allocations: 176.3 kB / 1.356 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/0.4711, allocations: 101 kB / 1.356 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.661e-05/0.4712, allocations: 91.27 kB / 1.357 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4712, allocations: 0 / 1.357 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002286/0.4714, allocations: 4 kB / 1.357 GB, free: 0.5 MB / 1.045 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.0006941/0.4721, allocations: 0.8281 MB / 1.357 GB, free: 15.64 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.19e-05/0.4722, allocations: 8 kB / 1.357 GB, free: 15.64 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4722, allocations: 0 / 1.357 GB, free: 15.64 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.4722, allocations: 64 / 1.357 GB, free: 15.64 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.4726, allocations: 463.6 kB / 1.358 GB, free: 15.18 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.4738, allocations: 1.294 MB / 1.359 GB, free: 13.8 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.4741, allocations: 0.6768 MB / 1.36 GB, free: 13.1 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.056e-05/0.4741, allocations: 0 / 1.36 GB, free: 13.1 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.4742, allocations: 7.438 kB / 1.36 GB, free: 13.1 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.4742, allocations: 4.031 kB / 1.36 GB, free: 13.09 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/0.5028, allocations: 1.29 MB / 1.361 GB, free: 11.96 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.839/8.342, allocations: 7.469 kB / 1.361 GB, free: 11.95 MB / 1.061 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_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_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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: 15.23275226005353]