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.001662/0.001662, 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.001399/0.001399, allocations: 216.9 kB / 22.26 MB, free: 5.117 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 8.016 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.484/3.484, allocations: 0.505 GB / 0.8101 GB, free: 22.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.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.002072/0.002072, allocations: 69.77 kB / 1.177 GB, free: 17.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3775, allocations: 180.2 MB / 1.353 GB, free: 8.492 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002684/0.3802, allocations: 1.253 MB / 1.354 GB, free: 7.23 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002085/0.3823, allocations: 1.107 MB / 1.355 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.342e-05/0.3823, allocations: 0 / 1.355 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.704e-05/0.3823, allocations: 0 / 1.355 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005604/0.3829, allocations: 107.5 kB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.022e-06/0.3829, allocations: 0 / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.31e-05/0.3829, allocations: 11.98 kB / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.832e-05/0.383, allocations: 7.984 kB / 1.355 GB, free: 5.992 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.128e-05/0.383, allocations: 0 / 1.355 GB, free: 5.992 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.3831, allocations: 3.938 kB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.286e-06/0.3831, allocations: 3.938 kB / 1.355 GB, free: 5.984 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002723/0.3834, allocations: 119.8 kB / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.624e-06/0.3834, allocations: 3.984 kB / 1.355 GB, free: 5.863 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.666e-05/0.3834, allocations: 3.938 kB / 1.355 GB, free: 5.859 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.3837, allocations: 104 kB / 1.356 GB, free: 5.758 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.3837, allocations: 3.984 kB / 1.356 GB, free: 5.754 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3837, allocations: 0 / 1.356 GB, free: 5.754 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.3837, allocations: 4 kB / 1.356 GB, free: 5.75 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.0003786/0.3841, allocations: 281.9 kB / 1.356 GB, free: 5.445 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.3841, allocations: 8.031 kB / 1.356 GB, free: 5.438 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.773e-05/0.3842, allocations: 106 kB / 1.356 GB, free: 5.324 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.972e-05/0.3843, allocations: 80.22 kB / 1.356 GB, free: 5.246 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.3844, allocations: 181.8 kB / 1.356 GB, free: 5.043 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.772e-05/0.3845, allocations: 158.9 kB / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.878e-05/0.3846, allocations: 158.9 kB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.055e-05/0.3847, allocations: 108.9 kB / 1.357 GB, free: 4.617 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/0.3847, allocations: 75.28 kB / 1.357 GB, free: 4.543 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.047e-05/0.3848, allocations: 150.6 kB / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.607e-05/0.3848, allocations: 154.6 kB / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.949e-05/0.3849, allocations: 154.6 kB / 1.357 GB, free: 4.09 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003131/0.3852, allocations: 417 kB / 1.357 GB, free: 3.641 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.608e-05/0.3853, allocations: 169.1 kB / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.248e-05/0.3853, allocations: 80.14 kB / 1.358 GB, free: 3.383 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.3854, allocations: 83.22 kB / 1.358 GB, free: 3.301 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.116e-05/0.3854, allocations: 109.8 kB / 1.358 GB, free: 3.184 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.3854, allocations: 0 / 1.358 GB, free: 3.184 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.864e-05/0.3855, allocations: 33.64 kB / 1.358 GB, free: 3.145 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/0.3856, allocations: 126.7 kB / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.3857, allocations: 97.86 kB / 1.358 GB, free: 2.902 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.3857, allocations: 25.7 kB / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.554e-05/0.3858, allocations: 84.27 kB / 1.358 GB, free: 2.785 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-06/0.3858, allocations: 0 / 1.358 GB, free: 2.785 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.3858, allocations: 9.719 kB / 1.358 GB, free: 2.77 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3859, allocations: 318.8 kB / 1.359 GB, free: 2.449 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.709e-06/0.3859, allocations: 0 / 1.359 GB, free: 2.449 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.423e-06/0.3859, allocations: 4.562 kB / 1.359 GB, free: 2.445 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.485e-05/0.386, allocations: 75.28 kB / 1.359 GB, free: 2.371 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-05/0.386, allocations: 75.28 kB / 1.359 GB, free: 2.297 MB / 1.045 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.3e-05/0.3861, allocations: 37.58 kB / 1.359 GB, free: 2.254 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/0.3861, allocations: 83.28 kB / 1.359 GB, free: 2.172 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.782e-05/0.3861, allocations: 75.28 kB / 1.359 GB, free: 2.098 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.071e-05/0.3862, allocations: 158.5 kB / 1.359 GB, free: 1.941 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.257e-05/0.3863, allocations: 79.34 kB / 1.359 GB, free: 1.863 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.447e-05/0.3863, allocations: 158.6 kB / 1.359 GB, free: 1.707 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.934e-05/0.3864, allocations: 87.23 kB / 1.359 GB, free: 1.621 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.3864, allocations: 75.28 kB / 1.359 GB, free: 1.547 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.000129/0.3866, allocations: 260.3 kB / 1.36 GB, free: 1.281 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.051e-05/0.3866, allocations: 112.9 kB / 1.36 GB, free: 1.164 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.828e-05/0.3867, allocations: 112.1 kB / 1.36 GB, free: 1.047 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.769e-05/0.3868, allocations: 180.2 kB / 1.36 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.974e-05/0.3869, allocations: 188.2 kB / 1.36 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.431e-05/0.3869, allocations: 176.3 kB / 1.36 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.3872, allocations: 376.3 kB / 1.361 GB, free: 76 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.132e-05/0.3873, allocations: 112.9 kB / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.3873, allocations: 101 kB / 1.361 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.729e-05/0.3874, allocations: 184.2 kB / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.562e-05/0.3875, allocations: 176.3 kB / 1.361 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.317e-05/0.3875, allocations: 184.2 kB / 1.361 GB, free: 15.3 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.312e-05/0.3876, allocations: 184.2 kB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.3878, allocations: 303.8 kB / 1.362 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.3878, allocations: 108.9 kB / 1.362 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.644e-05/0.3879, allocations: 184.2 kB / 1.362 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.857e-05/0.388, allocations: 105 kB / 1.362 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.776e-05/0.3881, allocations: 180.3 kB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/0.3881, allocations: 104.9 kB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.784e-05/0.3882, allocations: 83.28 kB / 1.363 GB, free: 14 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3882, allocations: 0 / 1.363 GB, free: 14 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003635/0.3885, allocations: 47.73 kB / 1.363 GB, free: 13.96 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.00101/0.3895, allocations: 0.9552 MB / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.933e-05/0.3896, allocations: 3.938 kB / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3896, allocations: 0 / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.893e-06/0.3896, allocations: 0 / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005329/0.3902, allocations: 461.1 kB / 1.364 GB, free: 12.55 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.392, allocations: 1.56 MB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.3924, allocations: 0.669 MB / 1.366 GB, free: 10.22 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.925e-05/0.3925, allocations: 4 kB / 1.366 GB, free: 10.22 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.3925, allocations: 7.438 kB / 1.366 GB, free: 10.21 MB / 1.061 GB Notification: Performance of SimCode: time 1.273e-06/0.3925, allocations: 0 / 1.366 GB, free: 10.21 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03511/0.4276, allocations: 1.969 MB / 1.368 GB, free: 8.379 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.45, allocations: 13.36 kB / 1.368 GB, free: 8.367 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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.819828348932788]