Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001581/0.001581, allocations: 116.4 kB / 17.13 MB, free: 6.004 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.001719/0.001719, allocations: 215.2 kB / 20.1 MB, free: 3.051 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 / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.947/2.947, allocations: 0.49 GB / 0.7923 GB, free: 1.445 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002248/0.002248, allocations: 71.89 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065/1.068, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.00205/1.07, allocations: 1.258 MB / 1.323 GB, free: 24.19 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001245/1.071, allocations: 1.016 MB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.725e-05/1.071, allocations: 0 / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.01e-05/1.071, allocations: 0 / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004284/1.071, allocations: 121 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.517e-06/1.071, allocations: 0 / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.521e-05/1.071, allocations: 0 / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.893e-05/1.071, allocations: 2.875 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.723e-05/1.071, allocations: 3.984 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/1.072, allocations: 2.562 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.504e-06/1.072, allocations: 3.938 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/1.072, allocations: 123.8 kB / 1.324 GB, free: 23.37 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.6e-06/1.072, allocations: 0 / 1.324 GB, free: 23.37 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.583e-05/1.072, allocations: 6.875 kB / 1.324 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000204/1.072, allocations: 112.4 kB / 1.325 GB, free: 23.33 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.072, allocations: 3.938 kB / 1.325 GB, free: 23.32 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/1.072, allocations: 0 / 1.325 GB, free: 23.32 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.52e-06/1.072, allocations: 0 / 1.325 GB, free: 23.32 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.0002598/1.072, allocations: 342.6 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/1.072, allocations: 15.61 kB / 1.325 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/1.072, allocations: 84.17 kB / 1.325 GB, free: 22.87 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.919e-05/1.072, allocations: 235.7 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/1.072, allocations: 154.9 kB / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/1.072, allocations: 153.9 kB / 1.325 GB, free: 22.3 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.018e-05/1.072, allocations: 108.3 kB / 1.326 GB, free: 22.19 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/1.072, allocations: 75.28 kB / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/1.073, allocations: 154.5 kB / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/1.073, allocations: 150.6 kB / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.353e-05/1.073, allocations: 157.3 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/1.073, allocations: 442 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.282e-05/1.073, allocations: 165.1 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.827e-05/1.073, allocations: 90.33 kB / 1.327 GB, free: 20.93 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/1.073, allocations: 79.28 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/1.073, allocations: 117.8 kB / 1.327 GB, free: 20.72 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/1.073, allocations: 0 / 1.327 GB, free: 20.72 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.122e-05/1.073, allocations: 28.52 kB / 1.327 GB, free: 20.69 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/1.073, allocations: 130.6 kB / 1.327 GB, free: 20.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.563e-05/1.073, allocations: 96.52 kB / 1.327 GB, free: 20.45 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/1.073, allocations: 33.11 kB / 1.327 GB, free: 20.41 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.296e-05/1.073, allocations: 80.14 kB / 1.327 GB, free: 20.33 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-06/1.073, allocations: 0 / 1.327 GB, free: 20.33 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/1.073, allocations: 16.47 kB / 1.327 GB, free: 20.31 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.47e-05/1.073, allocations: 310.8 kB / 1.328 GB, free: 20 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.348e-06/1.073, allocations: 0 / 1.328 GB, free: 20 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.384e-06/1.073, allocations: 3.938 kB / 1.328 GB, free: 20 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.255e-05/1.073, allocations: 75.28 kB / 1.328 GB, free: 19.92 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/1.073, allocations: 82.12 kB / 1.328 GB, free: 19.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.641e-05/1.073, allocations: 29.64 kB / 1.328 GB, free: 19.81 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/1.073, allocations: 80.88 kB / 1.328 GB, free: 19.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/1.073, allocations: 81.47 kB / 1.328 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-05/1.073, allocations: 158.5 kB / 1.328 GB, free: 19.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.043e-05/1.073, allocations: 75.28 kB / 1.328 GB, free: 19.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.186e-05/1.073, allocations: 161.4 kB / 1.328 GB, free: 19.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.564e-05/1.073, allocations: 79.28 kB / 1.328 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/1.073, allocations: 75.28 kB / 1.328 GB, free: 19.12 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 5.665e-05/1.073, allocations: 266.5 kB / 1.329 GB, free: 18.86 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/1.073, allocations: 105.1 kB / 1.329 GB, free: 18.75 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.35e-05/1.073, allocations: 110.9 kB / 1.329 GB, free: 18.63 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/1.073, allocations: 192.2 kB / 1.329 GB, free: 18.44 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.707e-05/1.073, allocations: 179.6 kB / 1.329 GB, free: 18.26 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-05/1.074, allocations: 183 kB / 1.329 GB, free: 18.07 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/1.074, allocations: 393.2 kB / 1.33 GB, free: 17.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/1.074, allocations: 111.1 kB / 1.33 GB, free: 17.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.561e-05/1.074, allocations: 108.9 kB / 1.33 GB, free: 17.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-05/1.074, allocations: 180.3 kB / 1.33 GB, free: 17.23 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/1.074, allocations: 183.1 kB / 1.33 GB, free: 17.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-05/1.074, allocations: 179.4 kB / 1.331 GB, free: 16.86 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.392e-05/1.074, allocations: 180.3 kB / 1.331 GB, free: 16.68 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.78e-05/1.074, allocations: 309 kB / 1.331 GB, free: 16.36 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-05/1.074, allocations: 189.4 kB / 1.331 GB, free: 16.15 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/1.074, allocations: 178.8 kB / 1.331 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.191e-05/1.074, allocations: 101 kB / 1.331 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/1.074, allocations: 190.7 kB / 1.332 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/1.074, allocations: 108.2 kB / 1.332 GB, free: 15.57 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.204e-05/1.074, allocations: 77.88 kB / 1.332 GB, free: 15.49 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.074, allocations: 0 / 1.332 GB, free: 15.49 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003356/1.074, allocations: 40.75 kB / 1.332 GB, free: 15.48 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.000559/1.075, allocations: 313.1 kB / 1.332 GB, free: 15.27 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 4.32e-05/1.075, allocations: 3.938 kB / 1.332 GB, free: 15.26 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.075, allocations: 4 kB / 1.332 GB, free: 15.26 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/1.075, allocations: 0 / 1.332 GB, free: 15.26 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/1.075, allocations: 461.9 kB / 1.333 GB, free: 14.81 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002294/1.075, allocations: 190.8 kB / 1.333 GB, free: 14.6 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/1.076, allocations: 0.6723 MB / 1.333 GB, free: 13.91 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.194e-05/1.076, allocations: 10.66 kB / 1.333 GB, free: 13.9 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/1.076, allocations: 4 kB / 1.333 GB, free: 13.89 MB / 1.061 GB Notification: Performance of Templates: time 0.002663/1.078, allocations: 1.152 MB / 1.335 GB, free: 13.77 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.598451244994067]