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.001313/0.001313, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00163/0.00163, allocations: 217.5 kB / 23.01 MB, free: 4.609 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.266/3.266, allocations: 0.505 GB / 0.8108 GB, free: 22.01 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.002041/0.002041, allocations: 72.48 kB / 1.178 GB, free: 16.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3437, allocations: 180.2 MB / 1.354 GB, free: 7.941 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002377/0.3461, allocations: 1.263 MB / 1.355 GB, free: 6.672 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001733/0.3479, allocations: 1.103 MB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.085e-05/0.3479, allocations: 0 / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.3479, allocations: 0 / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004651/0.3484, allocations: 115.5 kB / 1.357 GB, free: 5.449 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.737e-06/0.3484, allocations: 0 / 1.357 GB, free: 5.449 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 3.859e-05/0.3484, allocations: 0 / 1.357 GB, free: 5.449 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.3484, allocations: 4 kB / 1.357 GB, free: 5.445 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.482e-05/0.3485, allocations: 4 kB / 1.357 GB, free: 5.441 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.3486, allocations: 4 kB / 1.357 GB, free: 5.438 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.853e-06/0.3486, allocations: 0 / 1.357 GB, free: 5.438 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002593/0.3488, allocations: 131.8 kB / 1.357 GB, free: 5.309 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.821e-06/0.3488, allocations: 4 kB / 1.357 GB, free: 5.305 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.709e-05/0.3489, allocations: 3.938 kB / 1.357 GB, free: 5.301 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.3491, allocations: 99.7 kB / 1.357 GB, free: 5.203 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3491, allocations: 0 / 1.357 GB, free: 5.203 MB / 1.045 GB Notification: Performance of FrontEnd: time 4.348e-06/0.3491, allocations: 4 kB / 1.357 GB, free: 5.199 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3491, allocations: 0 / 1.357 GB, free: 5.199 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.0003302/0.3494, allocations: 281.9 kB / 1.357 GB, free: 4.895 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3494, allocations: 12.03 kB / 1.357 GB, free: 4.883 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.535e-05/0.3495, allocations: 84.19 kB / 1.357 GB, free: 4.801 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.3497, allocations: 177.8 kB / 1.357 GB, free: 4.602 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.501e-05/0.3497, allocations: 150.9 kB / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.533e-05/0.3498, allocations: 158.9 kB / 1.358 GB, free: 4.297 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.312e-05/0.3499, allocations: 117 kB / 1.358 GB, free: 4.176 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.902e-05/0.3499, allocations: 75.28 kB / 1.358 GB, free: 4.102 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-05/0.35, allocations: 150.6 kB / 1.358 GB, free: 3.953 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.791e-05/0.35, allocations: 150.6 kB / 1.358 GB, free: 3.805 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.884e-05/0.3501, allocations: 150.6 kB / 1.358 GB, free: 3.656 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/0.3504, allocations: 425 kB / 1.359 GB, free: 3.199 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.3505, allocations: 169.1 kB / 1.359 GB, free: 3.023 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.868e-05/0.3506, allocations: 80.14 kB / 1.359 GB, free: 2.941 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.3506, allocations: 75.28 kB / 1.359 GB, free: 2.867 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.414e-05/0.3507, allocations: 109.8 kB / 1.359 GB, free: 2.75 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.3507, allocations: 4 kB / 1.359 GB, free: 2.746 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.489e-05/0.3507, allocations: 29.7 kB / 1.359 GB, free: 2.711 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/0.3508, allocations: 126.7 kB / 1.359 GB, free: 2.574 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.3509, allocations: 101.8 kB / 1.359 GB, free: 2.465 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.3509, allocations: 29.64 kB / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.439e-05/0.351, allocations: 80.14 kB / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.351, allocations: 0 / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.351, allocations: 13.84 kB / 1.359 GB, free: 2.328 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3511, allocations: 314.8 kB / 1.36 GB, free: 2.012 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.99e-06/0.3511, allocations: 4 kB / 1.36 GB, free: 2.008 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-06/0.3511, allocations: 4.562 kB / 1.36 GB, free: 2.004 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.803e-05/0.3512, allocations: 75.28 kB / 1.36 GB, free: 1.93 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.301e-05/0.3512, allocations: 79.28 kB / 1.36 GB, free: 1.852 MB / 1.045 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.717e-05/0.3513, allocations: 29.64 kB / 1.36 GB, free: 1.816 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.238e-05/0.3513, allocations: 83.28 kB / 1.36 GB, free: 1.734 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.25e-05/0.3514, allocations: 87.2 kB / 1.36 GB, free: 1.648 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-05/0.3514, allocations: 150.6 kB / 1.36 GB, free: 1.5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.093e-05/0.3515, allocations: 79.41 kB / 1.36 GB, free: 1.422 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-05/0.3515, allocations: 158.5 kB / 1.36 GB, free: 1.266 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.24e-05/0.3516, allocations: 79.3 kB / 1.36 GB, free: 1.188 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.3517, allocations: 79.22 kB / 1.361 GB, free: 1.109 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.0001757/0.3519, allocations: 273 kB / 1.361 GB, free: 0.832 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.352, allocations: 108.9 kB / 1.361 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.04e-05/0.352, allocations: 108.1 kB / 1.361 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001381/0.3522, allocations: 180.3 kB / 1.361 GB, free: 432 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-05/0.3522, allocations: 180.3 kB / 1.361 GB, free: 244 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.73e-05/0.3523, allocations: 188.2 kB / 1.362 GB, free: 48 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/0.3526, allocations: 368.3 kB / 1.362 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-05/0.3527, allocations: 108.9 kB / 1.362 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.95e-05/0.3527, allocations: 104.9 kB / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.726e-05/0.3528, allocations: 176.3 kB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.85e-05/0.3529, allocations: 188.2 kB / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.95e-05/0.353, allocations: 184.3 kB / 1.363 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.588e-05/0.353, allocations: 180.2 kB / 1.363 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.3532, allocations: 303.8 kB / 1.363 GB, free: 14.35 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.794e-05/0.3532, allocations: 108.9 kB / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.173e-05/0.3533, allocations: 184.3 kB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.916e-05/0.3534, allocations: 104.9 kB / 1.363 GB, free: 13.94 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.117e-05/0.3535, allocations: 180.3 kB / 1.364 GB, free: 13.76 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.611e-05/0.3536, allocations: 105 kB / 1.364 GB, free: 13.65 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.758e-05/0.3536, allocations: 83.28 kB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3536, allocations: 0 / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003502/0.354, allocations: 47.67 kB / 1.364 GB, free: 13.52 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.0006398/0.3546, allocations: 315.3 kB / 1.364 GB, free: 13.24 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 4.192e-05/0.3546, allocations: 4 kB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3546, allocations: 0 / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.3546, allocations: 0 / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.355, allocations: 463.6 kB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/0.3553, allocations: 186.6 kB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.3556, allocations: 0.6729 MB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.372e-05/0.3556, allocations: 11.38 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.3556, allocations: 0 / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of Templates: time 0.00341/0.359, allocations: 1.158 MB / 1.367 GB, free: 10.7 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/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: 11.319218360004015]