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.0016/0.0016, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001639/0.001639, allocations: 216.4 kB / 22.25 MB, free: 5.129 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.988 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.28/3.28, allocations: 0.505 GB / 0.8101 GB, free: 22.07 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.002081/0.002081, allocations: 70.19 kB / 1.177 GB, free: 17.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3744, allocations: 180.2 MB / 1.353 GB, free: 8.637 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002432/0.3769, allocations: 1.263 MB / 1.354 GB, free: 7.363 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001794/0.3787, allocations: 1.111 MB / 1.355 GB, free: 6.246 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.3787, allocations: 0 / 1.355 GB, free: 6.246 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.159e-05/0.3787, allocations: 0 / 1.355 GB, free: 6.246 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004704/0.3792, allocations: 111.6 kB / 1.355 GB, free: 6.137 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.187e-06/0.3792, allocations: 0 / 1.355 GB, free: 6.137 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.666e-05/0.3792, allocations: 7.938 kB / 1.355 GB, free: 6.129 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.3793, allocations: 0 / 1.355 GB, free: 6.129 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.553e-05/0.3793, allocations: 0 / 1.355 GB, free: 6.129 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.3794, allocations: 4 kB / 1.355 GB, free: 6.125 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.073e-06/0.3794, allocations: 0 / 1.355 GB, free: 6.125 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.3796, allocations: 127.8 kB / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.979e-06/0.3796, allocations: 7.938 kB / 1.355 GB, free: 5.992 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.729e-05/0.3797, allocations: 3.938 kB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.3799, allocations: 96.05 kB / 1.356 GB, free: 5.895 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3799, allocations: 4 kB / 1.356 GB, free: 5.891 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3799, allocations: 4 kB / 1.356 GB, free: 5.887 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.3799, allocations: 0 / 1.356 GB, free: 5.887 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.000341/0.3802, allocations: 277.9 kB / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3803, allocations: 12.03 kB / 1.356 GB, free: 5.574 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.05e-05/0.3803, allocations: 110 kB / 1.356 GB, free: 5.457 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.288e-05/0.3804, allocations: 76.22 kB / 1.356 GB, free: 5.383 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.3805, allocations: 189.8 kB / 1.356 GB, free: 5.172 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.121e-05/0.3806, allocations: 150.9 kB / 1.356 GB, free: 5.023 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-05/0.3807, allocations: 154.9 kB / 1.356 GB, free: 4.871 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.238e-05/0.3807, allocations: 108.9 kB / 1.357 GB, free: 4.758 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.3808, allocations: 75.28 kB / 1.357 GB, free: 4.684 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.237e-05/0.3808, allocations: 150.6 kB / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.326e-05/0.3809, allocations: 154.6 kB / 1.357 GB, free: 4.383 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.234e-05/0.381, allocations: 154.5 kB / 1.357 GB, free: 4.23 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/0.3813, allocations: 421 kB / 1.357 GB, free: 3.777 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.3814, allocations: 165.1 kB / 1.358 GB, free: 3.605 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.824e-05/0.3814, allocations: 84.14 kB / 1.358 GB, free: 3.52 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.191e-05/0.3814, allocations: 79.22 kB / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.338e-05/0.3815, allocations: 109.8 kB / 1.358 GB, free: 3.324 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.3815, allocations: 0 / 1.358 GB, free: 3.324 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.943e-05/0.3816, allocations: 29.64 kB / 1.358 GB, free: 3.289 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/0.3816, allocations: 126.7 kB / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.3818, allocations: 105.8 kB / 1.358 GB, free: 3.039 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.3818, allocations: 25.7 kB / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.831e-05/0.3818, allocations: 80.14 kB / 1.358 GB, free: 2.926 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.3818, allocations: 0 / 1.358 GB, free: 2.926 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.3818, allocations: 17.66 kB / 1.358 GB, free: 2.902 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.382, allocations: 310.8 kB / 1.359 GB, free: 2.59 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.068e-06/0.382, allocations: 0 / 1.359 GB, free: 2.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.077e-06/0.382, allocations: 0.5625 kB / 1.359 GB, free: 2.59 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.353e-05/0.382, allocations: 79.41 kB / 1.359 GB, free: 2.512 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.294e-05/0.382, allocations: 75.28 kB / 1.359 GB, free: 2.438 MB / 1.045 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.162e-05/0.3821, allocations: 41.58 kB / 1.359 GB, free: 2.391 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.494e-05/0.3821, allocations: 79.28 kB / 1.359 GB, free: 2.312 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-05/0.3822, allocations: 75.28 kB / 1.359 GB, free: 2.238 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.517e-05/0.3823, allocations: 162.5 kB / 1.359 GB, free: 2.078 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.41e-05/0.3823, allocations: 75.41 kB / 1.359 GB, free: 2.004 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-05/0.3824, allocations: 158.5 kB / 1.359 GB, free: 1.848 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.657e-05/0.3825, allocations: 83.23 kB / 1.359 GB, free: 1.766 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.3825, allocations: 75.28 kB / 1.359 GB, free: 1.691 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.0001368/0.3826, allocations: 268.3 kB / 1.36 GB, free: 1.418 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/0.3827, allocations: 108.9 kB / 1.36 GB, free: 1.305 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.707e-05/0.3828, allocations: 116.2 kB / 1.36 GB, free: 1.184 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.036e-05/0.3829, allocations: 184.2 kB / 1.36 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.429e-05/0.3829, allocations: 180.2 kB / 1.36 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.486e-05/0.383, allocations: 176.3 kB / 1.36 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.3832, allocations: 380.2 kB / 1.361 GB, free: 216 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.545e-05/0.3833, allocations: 104.9 kB / 1.361 GB, free: 104 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-05/0.3834, allocations: 105 kB / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.946e-05/0.3834, allocations: 180.2 kB / 1.361 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.47e-05/0.3835, allocations: 192.2 kB / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.388e-05/0.3836, allocations: 180.2 kB / 1.361 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.26e-05/0.3837, allocations: 176.3 kB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.3838, allocations: 307.8 kB / 1.362 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-05/0.3839, allocations: 108.9 kB / 1.362 GB, free: 14.81 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.011e-05/0.384, allocations: 184.2 kB / 1.362 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.3841, allocations: 101 kB / 1.362 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.3843, allocations: 188.2 kB / 1.363 GB, free: 14.33 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.768e-05/0.3843, allocations: 101 kB / 1.363 GB, free: 14.22 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.789e-05/0.3844, allocations: 87.27 kB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3844, allocations: 0 / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003685/0.3847, allocations: 39.75 kB / 1.363 GB, free: 14.1 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.001024/0.3858, allocations: 0.9508 MB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 4.753e-05/0.3858, allocations: 0 / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3858, allocations: 3.938 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.3858, allocations: 0 / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.3862, allocations: 459.7 kB / 1.364 GB, free: 12.7 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.3876, allocations: 1.56 MB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.3879, allocations: 0.6768 MB / 1.366 GB, free: 10.36 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.191e-05/0.3879, allocations: 0 / 1.366 GB, free: 10.36 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/0.3879, allocations: 7.438 kB / 1.366 GB, free: 10.36 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.3879, allocations: 0 / 1.366 GB, free: 10.36 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03144/0.4193, allocations: 1.986 MB / 1.368 GB, free: 8.512 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.04, allocations: 0 / 1.368 GB, free: 8.512 MB / 1.061 GB " [Timeout remaining time 289] (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: 18.069518879000043]