Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.001462/0.001462, allocations: 108 kB / 16.45 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.001535/0.001535, 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.439/1.439, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.314/3.314, allocations: 0.505 GB / 0.8066 GB, free: 23.05 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.GetAltitudeTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",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.002252/0.002252, allocations: 69.14 kB / 1.172 GB, free: 17.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.365, allocations: 180.2 MB / 1.348 GB, free: 9.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002372/0.3673, allocations: 1.263 MB / 1.349 GB, free: 8.691 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.3689, allocations: 1.024 MB / 1.35 GB, free: 7.66 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.774e-05/0.3689, allocations: 0 / 1.35 GB, free: 7.66 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.353e-05/0.3689, allocations: 4 kB / 1.35 GB, free: 7.656 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004102/0.3693, allocations: 107.5 kB / 1.35 GB, free: 7.551 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 2.816e-06/0.3693, allocations: 0 / 1.35 GB, free: 7.551 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 3.856e-05/0.3694, allocations: 0 / 1.35 GB, free: 7.551 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.927e-05/0.3694, allocations: 7.984 kB / 1.35 GB, free: 7.543 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.285e-05/0.3694, allocations: 0 / 1.35 GB, free: 7.543 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.517e-05/0.3695, allocations: 11.98 kB / 1.35 GB, free: 7.531 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.341e-06/0.3695, allocations: 0 / 1.35 GB, free: 7.531 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.3697, allocations: 115.8 kB / 1.35 GB, free: 7.418 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.18e-06/0.3697, allocations: 0 / 1.35 GB, free: 7.418 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.83e-05/0.3697, allocations: 7.938 kB / 1.35 GB, free: 7.41 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.3699, allocations: 108 kB / 1.35 GB, free: 7.305 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.37, allocations: 0 / 1.35 GB, free: 7.305 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.112e-06/0.37, allocations: 0 / 1.35 GB, free: 7.305 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.854e-06/0.37, allocations: 0 / 1.35 GB, free: 7.305 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.0003395/0.3703, allocations: 359 kB / 1.351 GB, free: 6.906 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3703, allocations: 11.98 kB / 1.351 GB, free: 6.895 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.866e-05/0.3704, allocations: 110 kB / 1.351 GB, free: 6.777 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.231e-05/0.3705, allocations: 76.22 kB / 1.351 GB, free: 6.703 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.3706, allocations: 247.6 kB / 1.351 GB, free: 6.422 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.488e-05/0.3707, allocations: 150.9 kB / 1.351 GB, free: 6.273 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.25e-05/0.3708, allocations: 154.9 kB / 1.351 GB, free: 6.121 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.943e-05/0.3708, allocations: 104.9 kB / 1.351 GB, free: 6.012 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.403e-05/0.3709, allocations: 83.22 kB / 1.352 GB, free: 5.93 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/0.3709, allocations: 150.6 kB / 1.352 GB, free: 5.781 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.195e-05/0.371, allocations: 158.5 kB / 1.352 GB, free: 5.625 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.886e-05/0.371, allocations: 150.6 kB / 1.352 GB, free: 5.477 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002978/0.3713, allocations: 445.9 kB / 1.352 GB, free: 4.992 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.341e-05/0.3714, allocations: 169.1 kB / 1.353 GB, free: 4.816 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.09e-05/0.3715, allocations: 88.08 kB / 1.353 GB, free: 4.727 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/0.3715, allocations: 79.22 kB / 1.353 GB, free: 4.648 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/0.3716, allocations: 105.8 kB / 1.353 GB, free: 4.535 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.3716, allocations: 0 / 1.353 GB, free: 4.535 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 6.423e-05/0.3716, allocations: 25.7 kB / 1.353 GB, free: 4.504 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/0.3717, allocations: 130.7 kB / 1.353 GB, free: 4.363 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.409e-05/0.3718, allocations: 101.8 kB / 1.353 GB, free: 4.254 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.3718, allocations: 25.7 kB / 1.353 GB, free: 4.223 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.014e-05/0.3718, allocations: 84.14 kB / 1.353 GB, free: 4.137 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-06/0.3718, allocations: 0 / 1.353 GB, free: 4.137 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.968e-05/0.3719, allocations: 13.66 kB / 1.353 GB, free: 4.117 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.372, allocations: 310.8 kB / 1.354 GB, free: 3.805 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.033e-06/0.372, allocations: 3.938 kB / 1.354 GB, free: 3.801 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-06/0.372, allocations: 0.5625 kB / 1.354 GB, free: 3.801 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.004e-05/0.372, allocations: 79.41 kB / 1.354 GB, free: 3.723 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-05/0.3721, allocations: 79.28 kB / 1.354 GB, free: 3.645 MB / 1.045 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.7e-05/0.3721, allocations: 37.69 kB / 1.354 GB, free: 3.602 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.3722, allocations: 79.28 kB / 1.354 GB, free: 3.523 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.84e-05/0.3722, allocations: 83.27 kB / 1.354 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.384e-05/0.3723, allocations: 158.5 kB / 1.354 GB, free: 3.285 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.109e-05/0.3723, allocations: 75.41 kB / 1.354 GB, free: 3.211 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.587e-05/0.3724, allocations: 162.5 kB / 1.354 GB, free: 3.051 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.723e-05/0.3725, allocations: 83.3 kB / 1.354 GB, free: 2.969 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.3725, allocations: 75.28 kB / 1.354 GB, free: 2.895 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 (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.0001212/0.3726, allocations: 264.3 kB / 1.355 GB, free: 2.625 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.9e-05/0.3727, allocations: 108.9 kB / 1.355 GB, free: 2.512 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.44e-05/0.3727, allocations: 112.1 kB / 1.355 GB, free: 2.391 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.145e-05/0.3728, allocations: 180.2 kB / 1.355 GB, free: 2.207 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.651e-05/0.3729, allocations: 176.3 kB / 1.355 GB, free: 2.027 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.469e-05/0.373, allocations: 188.2 kB / 1.355 GB, free: 1.836 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.3732, allocations: 397.2 kB / 1.356 GB, free: 1.391 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.916e-05/0.3733, allocations: 108.9 kB / 1.356 GB, free: 1.277 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.201e-05/0.3733, allocations: 104.9 kB / 1.356 GB, free: 1.168 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.072e-05/0.3734, allocations: 184.2 kB / 1.356 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.978e-05/0.3735, allocations: 188.2 kB / 1.356 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.821e-05/0.3735, allocations: 176.3 kB / 1.356 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.279e-05/0.3736, allocations: 176.3 kB / 1.357 GB, free: 440 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.3737, allocations: 311.8 kB / 1.357 GB, free: 104 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-05/0.3738, allocations: 193.9 kB / 1.357 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.724e-05/0.3739, allocations: 176.3 kB / 1.357 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.182e-05/0.374, allocations: 101 kB / 1.357 GB, free: 15.6 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.539e-05/0.3741, allocations: 184.2 kB / 1.358 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/0.3741, allocations: 109 kB / 1.358 GB, free: 15.3 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.073e-05/0.3742, allocations: 79.28 kB / 1.358 GB, free: 15.22 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3742, allocations: 0 / 1.358 GB, free: 15.22 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003176/0.3745, allocations: 43.73 kB / 1.358 GB, free: 15.18 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.0008795/0.3754, allocations: 0.9465 MB / 1.359 GB, free: 14.24 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 3.682e-05/0.3754, allocations: 4 kB / 1.359 GB, free: 14.24 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3754, allocations: 0 / 1.359 GB, free: 14.24 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.3754, allocations: 0 / 1.359 GB, free: 14.24 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.3758, allocations: 463.6 kB / 1.359 GB, free: 13.78 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.377, allocations: 1.56 MB / 1.361 GB, free: 12.14 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.3773, allocations: 0.6768 MB / 1.361 GB, free: 11.44 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.025e-06/0.3773, allocations: 0 / 1.361 GB, free: 11.44 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.933e-05/0.3773, allocations: 7.438 kB / 1.361 GB, free: 11.44 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.3773, allocations: 0 / 1.361 GB, free: 11.44 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.405, allocations: 1.903 MB / 1.363 GB, free: 9.691 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.04/8.445, allocations: 3.938 kB / 1.363 GB, free: 9.688 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_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_GetAltitudeTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.332253109896556]