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.001348/0.001348, 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.00154/0.00154, allocations: 213.8 kB / 22.25 MB, free: 5.262 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.793 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.429/3.429, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") [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.002106/0.002106, allocations: 71.67 kB / 1.186 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3873, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002561/0.3899, allocations: 1.262 MB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001745/0.3916, allocations: 1.087 MB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.842e-05/0.3917, allocations: 0 / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.43e-05/0.3917, allocations: 0 / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005144/0.3922, allocations: 111.5 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.999e-06/0.3922, allocations: 0 / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.761e-05/0.3923, allocations: 11.92 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.889e-05/0.3923, allocations: 0 / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.792e-05/0.3923, allocations: 0 / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.377e-05/0.3924, allocations: 4 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.3924, allocations: 4 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002347/0.3926, allocations: 107.8 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.923e-06/0.3927, allocations: 0 / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.197e-05/0.3927, allocations: 0 / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.3929, allocations: 99.72 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.3929, allocations: 0 / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3929, allocations: 0 / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.3929, allocations: 0 / 1.366 GB, free: 10.91 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.0003884/0.3933, allocations: 279.6 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3933, allocations: 11.97 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.003e-05/0.3934, allocations: 80.22 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.3936, allocations: 185.8 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.045e-05/0.3937, allocations: 158.9 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.63e-05/0.3938, allocations: 150.9 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.3939, allocations: 114.2 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.181e-05/0.394, allocations: 79.27 kB / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.362e-05/0.3941, allocations: 154.6 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.938e-05/0.3941, allocations: 150.6 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.808e-05/0.3942, allocations: 154.5 kB / 1.368 GB, free: 9.355 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.3945, allocations: 393.6 kB / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.3946, allocations: 177.1 kB / 1.368 GB, free: 8.758 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.591e-05/0.3947, allocations: 80.14 kB / 1.369 GB, free: 8.676 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.3947, allocations: 75.28 kB / 1.369 GB, free: 8.602 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.334e-05/0.3948, allocations: 105.8 kB / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3948, allocations: 0 / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 9.193e-05/0.3949, allocations: 37.58 kB / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/0.3949, allocations: 130.7 kB / 1.369 GB, free: 8.305 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.395, allocations: 97.86 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.395, allocations: 29.64 kB / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.3951, allocations: 80.14 kB / 1.369 GB, free: 8.082 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-06/0.3951, allocations: 4.125 kB / 1.369 GB, free: 8.078 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.3951, allocations: 9.719 kB / 1.369 GB, free: 8.062 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3952, allocations: 314.8 kB / 1.369 GB, free: 7.746 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.87e-06/0.3952, allocations: 0 / 1.369 GB, free: 7.746 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.425e-06/0.3952, allocations: 0 / 1.369 GB, free: 7.746 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.141e-05/0.3953, allocations: 75.28 kB / 1.369 GB, free: 7.672 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-05/0.3953, allocations: 75.28 kB / 1.37 GB, free: 7.598 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001094/0.3954, allocations: 37.62 kB / 1.37 GB, free: 7.555 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.647e-05/0.3955, allocations: 83.22 kB / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.057e-05/0.3955, allocations: 75.28 kB / 1.37 GB, free: 7.398 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.006e-05/0.3956, allocations: 162.5 kB / 1.37 GB, free: 7.238 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.863e-05/0.3956, allocations: 79.41 kB / 1.37 GB, free: 7.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.127e-05/0.3957, allocations: 150.6 kB / 1.37 GB, free: 7.012 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.921e-05/0.3957, allocations: 87.23 kB / 1.37 GB, free: 6.926 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.3958, allocations: 79.27 kB / 1.37 GB, free: 6.848 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 (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.0001275/0.3959, allocations: 260.4 kB / 1.37 GB, free: 6.582 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.199e-05/0.396, allocations: 116.9 kB / 1.371 GB, free: 6.461 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.915e-05/0.396, allocations: 104.1 kB / 1.371 GB, free: 6.348 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.107e-05/0.3961, allocations: 184.2 kB / 1.371 GB, free: 6.16 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.478e-05/0.3962, allocations: 184.2 kB / 1.371 GB, free: 5.973 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.357e-05/0.3962, allocations: 180.2 kB / 1.371 GB, free: 5.789 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.3965, allocations: 360.8 kB / 1.372 GB, free: 5.398 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.361e-05/0.3965, allocations: 101 kB / 1.372 GB, free: 5.293 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.212e-05/0.3966, allocations: 105 kB / 1.372 GB, free: 5.184 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.258e-05/0.3966, allocations: 184.2 kB / 1.372 GB, free: 4.996 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.569e-05/0.3967, allocations: 180.2 kB / 1.372 GB, free: 4.812 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.921e-05/0.3968, allocations: 180.2 kB / 1.372 GB, free: 4.629 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.497e-05/0.3969, allocations: 184.3 kB / 1.372 GB, free: 4.441 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.397, allocations: 303.8 kB / 1.373 GB, free: 4.121 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.3971, allocations: 104.9 kB / 1.373 GB, free: 4.012 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.138e-05/0.3972, allocations: 196.1 kB / 1.373 GB, free: 3.812 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.938e-05/0.3972, allocations: 105 kB / 1.373 GB, free: 3.703 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.771e-05/0.3973, allocations: 192.2 kB / 1.373 GB, free: 3.508 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.41e-05/0.3974, allocations: 105 kB / 1.373 GB, free: 3.398 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.16e-05/0.3974, allocations: 75.28 kB / 1.373 GB, free: 3.324 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3974, allocations: 0 / 1.373 GB, free: 3.324 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003414/0.3977, allocations: 47.8 kB / 1.374 GB, free: 3.277 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.0006122/0.3984, allocations: 320.7 kB / 1.374 GB, free: 2.996 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 3.905e-05/0.3984, allocations: 0 / 1.374 GB, free: 2.996 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3984, allocations: 4 kB / 1.374 GB, free: 2.992 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.916e-06/0.3984, allocations: 3.938 kB / 1.374 GB, free: 2.988 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.3988, allocations: 459.7 kB / 1.374 GB, free: 2.535 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002698/0.399, allocations: 156.9 kB / 1.374 GB, free: 2.355 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.185e-05/0.3991, allocations: 59.34 kB / 1.374 GB, free: 2.277 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.625e-06/0.3991, allocations: 0 / 1.374 GB, free: 2.277 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.401e-05/0.3991, allocations: 7.438 kB / 1.375 GB, free: 2.27 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3991, allocations: 0 / 1.375 GB, free: 2.27 MB / 1.061 GB Notification: Performance of Templates: time 0.003523/0.4026, allocations: 0.9896 MB / 1.375 GB, free: 1.293 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 800] 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/jenkins/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: 9.33522448129952]