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.001628/0.001628, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001754/0.001754, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.276/3.276, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 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.002136/0.002136, allocations: 72.3 kB / 1.187 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3417, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.00244/0.3442, allocations: 1.261 MB / 1.366 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001743/0.3459, allocations: 1.091 MB / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.912e-05/0.3459, allocations: 0 / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.3459, allocations: 3.938 kB / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004625/0.3464, allocations: 107.6 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.399e-06/0.3464, allocations: 4 kB / 1.367 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.737e-05/0.3465, allocations: 3.984 kB / 1.367 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.108e-05/0.3465, allocations: 3.938 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.882e-05/0.3465, allocations: 7.938 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.676e-05/0.3466, allocations: 0 / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.682e-06/0.3466, allocations: 0 / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.3468, allocations: 103.9 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.021e-06/0.3468, allocations: 0 / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.324e-05/0.3468, allocations: 3.938 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.347, allocations: 103.7 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.347, allocations: 0 / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.042e-06/0.347, allocations: 4 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3471, allocations: 0 / 1.367 GB, free: 10.88 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.0003565/0.3474, allocations: 274 kB / 1.368 GB, free: 10.58 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3474, allocations: 8.031 kB / 1.368 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.566e-05/0.3475, allocations: 80.22 kB / 1.368 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.3477, allocations: 181.8 kB / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.483e-05/0.3477, allocations: 150.9 kB / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.38e-05/0.3478, allocations: 154.9 kB / 1.368 GB, free: 9.988 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.238e-05/0.3479, allocations: 114.1 kB / 1.368 GB, free: 9.871 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.283e-05/0.3479, allocations: 79.22 kB / 1.368 GB, free: 9.793 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.778e-05/0.348, allocations: 154.6 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.208e-05/0.3481, allocations: 154.5 kB / 1.369 GB, free: 9.488 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.581e-05/0.3482, allocations: 154.6 kB / 1.369 GB, free: 9.336 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/0.3484, allocations: 393.6 kB / 1.369 GB, free: 8.922 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.3485, allocations: 177 kB / 1.369 GB, free: 8.738 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.213e-05/0.3486, allocations: 80.14 kB / 1.369 GB, free: 8.656 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.117e-05/0.3486, allocations: 75.28 kB / 1.369 GB, free: 8.582 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.608e-05/0.3487, allocations: 113.8 kB / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.3487, allocations: 0 / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.447e-05/0.3488, allocations: 29.64 kB / 1.37 GB, free: 8.426 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/0.3488, allocations: 130.7 kB / 1.37 GB, free: 8.285 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.3489, allocations: 101.8 kB / 1.37 GB, free: 8.176 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.349, allocations: 25.7 kB / 1.37 GB, free: 8.145 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.349, allocations: 84.12 kB / 1.37 GB, free: 8.059 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/0.349, allocations: 0 / 1.37 GB, free: 8.059 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.349, allocations: 17.72 kB / 1.37 GB, free: 8.035 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3492, allocations: 310.8 kB / 1.37 GB, free: 7.723 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.468e-06/0.3492, allocations: 0 / 1.37 GB, free: 7.723 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.948e-06/0.3492, allocations: 0 / 1.37 GB, free: 7.723 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.249e-05/0.3492, allocations: 75.28 kB / 1.37 GB, free: 7.648 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.694e-05/0.3493, allocations: 79.41 kB / 1.37 GB, free: 7.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.95e-05/0.3493, allocations: 33.69 kB / 1.37 GB, free: 7.531 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.64e-05/0.3494, allocations: 83.22 kB / 1.37 GB, free: 7.449 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.091e-05/0.3494, allocations: 83.22 kB / 1.37 GB, free: 7.367 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.923e-05/0.3495, allocations: 150.6 kB / 1.371 GB, free: 7.219 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.552e-05/0.3495, allocations: 75.41 kB / 1.371 GB, free: 7.145 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.635e-05/0.3496, allocations: 162.5 kB / 1.371 GB, free: 6.984 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.368e-05/0.3497, allocations: 79.3 kB / 1.371 GB, free: 6.906 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/0.3497, allocations: 79.22 kB / 1.371 GB, free: 6.828 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.0001391/0.3499, allocations: 265.5 kB / 1.371 GB, free: 6.559 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.32e-05/0.3499, allocations: 108.9 kB / 1.371 GB, free: 6.445 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.905e-05/0.35, allocations: 108.1 kB / 1.371 GB, free: 6.328 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.69e-05/0.3501, allocations: 188.3 kB / 1.372 GB, free: 6.137 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.056e-05/0.3502, allocations: 176.3 kB / 1.372 GB, free: 5.957 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.801e-05/0.3502, allocations: 188.2 kB / 1.372 GB, free: 5.766 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.3505, allocations: 344.9 kB / 1.372 GB, free: 5.391 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.834e-05/0.3505, allocations: 104.9 kB / 1.372 GB, free: 5.281 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.038e-05/0.3506, allocations: 109 kB / 1.373 GB, free: 5.168 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.487e-05/0.3507, allocations: 184.2 kB / 1.373 GB, free: 4.98 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.169e-05/0.3507, allocations: 184.1 kB / 1.373 GB, free: 4.793 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.982e-05/0.3508, allocations: 184.2 kB / 1.373 GB, free: 4.605 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.478e-05/0.3509, allocations: 192.1 kB / 1.373 GB, free: 4.41 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.3511, allocations: 303.8 kB / 1.374 GB, free: 4.09 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.225e-05/0.3511, allocations: 112.9 kB / 1.374 GB, free: 3.973 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.647e-05/0.3512, allocations: 180.2 kB / 1.374 GB, free: 3.789 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.332e-05/0.3513, allocations: 108.9 kB / 1.374 GB, free: 3.676 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-05/0.3514, allocations: 184.3 kB / 1.374 GB, free: 3.488 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.441e-05/0.3515, allocations: 105 kB / 1.374 GB, free: 3.379 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.055e-05/0.3515, allocations: 79.28 kB / 1.374 GB, free: 3.301 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3515, allocations: 3.938 kB / 1.374 GB, free: 3.297 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003297/0.3518, allocations: 39.8 kB / 1.374 GB, free: 3.258 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.0006404/0.3525, allocations: 320.5 kB / 1.375 GB, free: 2.977 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 4.242e-05/0.3525, allocations: 0 / 1.375 GB, free: 2.977 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3525, allocations: 4 kB / 1.375 GB, free: 2.973 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.3525, allocations: 0 / 1.375 GB, free: 2.973 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.3529, allocations: 451.7 kB / 1.375 GB, free: 2.527 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002926/0.3532, allocations: 196.7 kB / 1.375 GB, free: 2.305 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.031e-05/0.3533, allocations: 59.28 kB / 1.375 GB, free: 2.227 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.587e-05/0.3533, allocations: 11.44 kB / 1.375 GB, free: 2.215 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.3533, allocations: 4 kB / 1.375 GB, free: 2.211 MB / 1.061 GB Notification: Performance of Templates: time 0.003049/0.3563, allocations: 1.155 MB / 1.376 GB, free: 1.059 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.2857886380516]