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.001311/0.001311, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002374/0.002374, allocations: 210.5 kB / 22.24 MB, free: 5.258 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.773 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.303/3.303, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.001993/0.001993, allocations: 71.44 kB / 1.186 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4086, allocations: 181.9 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002542/0.4112, allocations: 1.274 MB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.4124, allocations: 0.8223 MB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.4125, allocations: 0 / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.51e-05/0.4125, allocations: 0 / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.4128, allocations: 19.86 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.413, allocations: 54.23 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.966e-05/0.413, allocations: 19.98 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.896e-05/0.4131, allocations: 4 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.671e-05/0.4132, allocations: 15.92 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.323e-05/0.4133, allocations: 11.92 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.4133, allocations: 0 / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.748e-05/0.4133, allocations: 7.984 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.4134, allocations: 4 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/0.4134, allocations: 11.92 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.4135, allocations: 24.2 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.4135, allocations: 0 / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4135, allocations: 0 / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.4135, allocations: 0 / 1.366 GB, free: 11.76 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.0003882/0.4139, allocations: 246.4 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.4139, allocations: 12.03 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.635e-05/0.414, allocations: 114 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.39e-05/0.4141, allocations: 80.17 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.4143, allocations: 185.8 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.287e-05/0.4143, allocations: 154.9 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.402e-05/0.4144, allocations: 166.9 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.849e-05/0.4145, allocations: 101.5 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.1e-05/0.4146, allocations: 83.22 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.34e-05/0.4146, allocations: 150.6 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.907e-05/0.4147, allocations: 154.6 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.093e-05/0.4148, allocations: 150.6 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.4151, allocations: 428.9 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.4153, allocations: 169.1 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.056e-05/0.4153, allocations: 80.14 kB / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.885e-05/0.4153, allocations: 75.28 kB / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.583e-05/0.4154, allocations: 109.8 kB / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.4154, allocations: 4 kB / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.847e-05/0.4155, allocations: 41.56 kB / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.537e-05/0.4156, allocations: 126.7 kB / 1.368 GB, free: 9.02 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.4157, allocations: 105.8 kB / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.4157, allocations: 25.7 kB / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.185e-05/0.4158, allocations: 85.16 kB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.4158, allocations: 4 kB / 1.368 GB, free: 8.785 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.4158, allocations: 17.72 kB / 1.368 GB, free: 8.762 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.416, allocations: 310.8 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/0.416, allocations: 11.92 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.945e-05/0.4161, allocations: 33.7 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.74e-05/0.4161, allocations: 20.84 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4161, allocations: 4 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001151/0.4162, allocations: 37.64 kB / 1.369 GB, free: 8.328 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.4162, allocations: 7.938 kB / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.4162, allocations: 7.984 kB / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.4163, allocations: 0 / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-07/0.4163, allocations: 0 / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.4163, allocations: 0 / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.954e-05/0.4164, allocations: 8.109 kB / 1.369 GB, free: 8.305 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.4164, allocations: 4 kB / 1.369 GB, free: 8.301 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 (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.0001317/0.4165, allocations: 181.1 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.04e-05/0.4166, allocations: 108.9 kB / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.945e-05/0.4167, allocations: 116.4 kB / 1.369 GB, free: 7.871 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-05/0.4167, allocations: 180.3 kB / 1.369 GB, free: 7.688 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.591e-05/0.4168, allocations: 184.1 kB / 1.37 GB, free: 7.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.291e-05/0.4169, allocations: 176.3 kB / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.4172, allocations: 376.5 kB / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-05/0.4173, allocations: 112.9 kB / 1.37 GB, free: 6.785 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.589e-05/0.4173, allocations: 105 kB / 1.37 GB, free: 6.676 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.633e-05/0.4174, allocations: 184.3 kB / 1.37 GB, free: 6.488 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.4175, allocations: 188.3 kB / 1.371 GB, free: 6.297 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.045e-05/0.4176, allocations: 184.3 kB / 1.371 GB, free: 6.109 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.744e-05/0.4177, allocations: 180.2 kB / 1.371 GB, free: 5.926 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.4179, allocations: 307.8 kB / 1.371 GB, free: 5.602 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.301e-05/0.418, allocations: 108.9 kB / 1.371 GB, free: 5.488 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.927e-05/0.4181, allocations: 184.2 kB / 1.372 GB, free: 5.301 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.4182, allocations: 104.9 kB / 1.372 GB, free: 5.191 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.337e-05/0.4182, allocations: 180.2 kB / 1.372 GB, free: 5.008 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.586e-05/0.4183, allocations: 104.9 kB / 1.372 GB, free: 4.898 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.29e-05/0.4183, allocations: 95.27 kB / 1.372 GB, free: 4.805 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4183, allocations: 0 / 1.372 GB, free: 4.805 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000265/0.4186, allocations: 4 kB / 1.372 GB, free: 4.801 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.000682/0.4193, allocations: 0.8165 MB / 1.373 GB, free: 3.957 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.223e-05/0.4194, allocations: 15.88 kB / 1.373 GB, free: 3.941 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4194, allocations: 0 / 1.373 GB, free: 3.941 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/0.4194, allocations: 0 / 1.373 GB, free: 3.941 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.4198, allocations: 463.8 kB / 1.373 GB, free: 3.484 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.421, allocations: 1.291 MB / 1.375 GB, free: 2.113 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.022e-05/0.4211, allocations: 59.34 kB / 1.375 GB, free: 2.035 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.15e-05/0.4211, allocations: 0 / 1.375 GB, free: 2.035 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.4211, allocations: 11.44 kB / 1.375 GB, free: 2.023 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.4211, allocations: 0 / 1.375 GB, free: 2.023 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03292/0.454, allocations: 1.778 MB / 1.376 GB, free: 396 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.26, allocations: 16.53 kB / 1.376 GB, free: 384 kB / 1.061 GB " [Timeout remaining time 289] (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: 18.274587250314653]