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.001784/0.001784, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002115/0.002115, allocations: 217.8 kB / 22.26 MB, free: 5.113 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.436/1.436, allocations: 230.6 MB / 256 MB, free: 8.027 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.142/3.142, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.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.002021/0.002021, allocations: 68.14 kB / 1.177 GB, free: 17.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.355, allocations: 180.2 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002315/0.3573, allocations: 1.273 MB / 1.354 GB, free: 7.152 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.3585, allocations: 0.8223 MB / 1.355 GB, free: 6.328 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.727e-05/0.3585, allocations: 4 kB / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.384e-05/0.3586, allocations: 3.938 kB / 1.355 GB, free: 6.32 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.3588, allocations: 0 / 1.355 GB, free: 6.32 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.3589, allocations: 55.86 kB / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.629e-05/0.359, allocations: 27.91 kB / 1.355 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.969e-05/0.3591, allocations: 7.922 kB / 1.355 GB, free: 6.23 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.937e-05/0.3591, allocations: 11.98 kB / 1.355 GB, free: 6.219 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.3593, allocations: 19.92 kB / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.3593, allocations: 0 / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.221e-05/0.3593, allocations: 4 kB / 1.355 GB, free: 6.195 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.391e-05/0.3594, allocations: 11.98 kB / 1.355 GB, free: 6.184 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.3594, allocations: 11.92 kB / 1.355 GB, free: 6.172 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.134e-05/0.3595, allocations: 16.2 kB / 1.355 GB, free: 6.156 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3595, allocations: 3.938 kB / 1.355 GB, free: 6.152 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3595, allocations: 0 / 1.355 GB, free: 6.152 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.3595, allocations: 0 / 1.355 GB, free: 6.152 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.000313/0.3598, allocations: 258.3 kB / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3598, allocations: 12.03 kB / 1.355 GB, free: 5.855 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.784e-05/0.3599, allocations: 110 kB / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.876e-05/0.36, allocations: 76.22 kB / 1.356 GB, free: 5.664 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.3601, allocations: 197.7 kB / 1.356 GB, free: 5.445 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.343e-05/0.3602, allocations: 154.9 kB / 1.356 GB, free: 5.293 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.3602, allocations: 150.9 kB / 1.356 GB, free: 5.145 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.997e-05/0.3603, allocations: 113.5 kB / 1.356 GB, free: 5.027 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/0.3603, allocations: 79.22 kB / 1.356 GB, free: 4.949 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.218e-05/0.3604, allocations: 154.5 kB / 1.356 GB, free: 4.797 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.034e-05/0.3605, allocations: 150.6 kB / 1.356 GB, free: 4.648 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.73e-05/0.3605, allocations: 150.6 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.3608, allocations: 425 kB / 1.357 GB, free: 4.043 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.111e-05/0.3609, allocations: 165.1 kB / 1.357 GB, free: 3.871 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.242e-05/0.361, allocations: 88.14 kB / 1.357 GB, free: 3.781 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/0.361, allocations: 79.22 kB / 1.357 GB, free: 3.703 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/0.361, allocations: 105.8 kB / 1.357 GB, free: 3.59 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.361, allocations: 4 kB / 1.357 GB, free: 3.586 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.108e-05/0.3611, allocations: 29.64 kB / 1.357 GB, free: 3.551 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.3612, allocations: 130.7 kB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.3613, allocations: 105.9 kB / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.3613, allocations: 25.7 kB / 1.358 GB, free: 3.266 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.3614, allocations: 84.12 kB / 1.358 GB, free: 3.18 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.3614, allocations: 0 / 1.358 GB, free: 3.18 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.3614, allocations: 17.72 kB / 1.358 GB, free: 3.156 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3615, allocations: 314.8 kB / 1.358 GB, free: 2.84 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.025e-05/0.3615, allocations: 7.984 kB / 1.358 GB, free: 2.832 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.557e-05/0.3616, allocations: 11.94 kB / 1.358 GB, free: 2.82 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.3616, allocations: 16.86 kB / 1.358 GB, free: 2.801 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3616, allocations: 3.938 kB / 1.358 GB, free: 2.797 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001069/0.3617, allocations: 41.64 kB / 1.358 GB, free: 2.75 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3617, allocations: 11.94 kB / 1.358 GB, free: 2.738 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3617, allocations: 128 / 1.358 GB, free: 2.738 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.3617, allocations: 4 kB / 1.358 GB, free: 2.734 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.3617, allocations: 0 / 1.358 GB, free: 2.734 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3618, allocations: 0 / 1.358 GB, free: 2.734 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.648e-05/0.3618, allocations: 11.92 kB / 1.358 GB, free: 2.723 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.3618, allocations: 0 / 1.358 GB, free: 2.723 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.0001074/0.362, allocations: 185.7 kB / 1.358 GB, free: 2.531 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.162e-05/0.362, allocations: 116.9 kB / 1.359 GB, free: 2.41 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.944e-05/0.3621, allocations: 112.4 kB / 1.359 GB, free: 2.289 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-05/0.3622, allocations: 180.2 kB / 1.359 GB, free: 2.105 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-05/0.3623, allocations: 180.8 kB / 1.359 GB, free: 1.922 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.882e-05/0.3623, allocations: 176.5 kB / 1.359 GB, free: 1.742 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.3626, allocations: 380.2 kB / 1.36 GB, free: 1.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.08e-05/0.3626, allocations: 105 kB / 1.36 GB, free: 1.211 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.327e-05/0.3626, allocations: 108.9 kB / 1.36 GB, free: 1.098 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.359e-05/0.3627, allocations: 184.4 kB / 1.36 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.483e-05/0.3628, allocations: 188.3 kB / 1.36 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-05/0.3629, allocations: 184.2 kB / 1.36 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-05/0.3629, allocations: 176.3 kB / 1.36 GB, free: 360 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.3631, allocations: 307.8 kB / 1.361 GB, free: 28 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.851e-05/0.3632, allocations: 112.9 kB / 1.361 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.702e-05/0.3633, allocations: 180.2 kB / 1.361 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.068e-05/0.3634, allocations: 101 kB / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.249e-05/0.3634, allocations: 188.2 kB / 1.361 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.937e-05/0.3635, allocations: 101 kB / 1.361 GB, free: 15.32 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.223e-05/0.3635, allocations: 87.27 kB / 1.361 GB, free: 15.24 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3635, allocations: 0 / 1.361 GB, free: 15.24 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002337/0.3638, allocations: 4 kB / 1.361 GB, free: 15.23 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.0006583/0.3644, allocations: 0.8281 MB / 1.362 GB, free: 14.38 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.564e-05/0.3645, allocations: 11.98 kB / 1.362 GB, free: 14.37 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.3645, allocations: 0 / 1.362 GB, free: 14.37 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.3645, allocations: 0 / 1.362 GB, free: 14.37 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.3649, allocations: 465.6 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.366, allocations: 1.289 MB / 1.364 GB, free: 12.54 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.3663, allocations: 0.6806 MB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.862e-05/0.3663, allocations: 0 / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.3663, allocations: 11.44 kB / 1.365 GB, free: 11.83 MB / 1.061 GB Notification: Performance of SimCode: time 4.71e-07/0.3663, allocations: 3.938 kB / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04192/0.4082, allocations: 1.36 MB / 1.366 GB, free: 10.6 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.04, allocations: 8.719 kB / 1.366 GB, free: 10.6 MB / 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: 17.782941989999927]