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.00178/0.00178, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.002128/0.002128, allocations: 207.2 kB / 23.03 MB, free: 4.863 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 7.777 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 3.21/3.21, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.001989/0.001989, allocations: 69.48 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3173, allocations: 176.1 MB / 1.327 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002379/0.3197, allocations: 1.258 MB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.3214, allocations: 1.087 MB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.538e-05/0.3214, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.895e-05/0.3215, allocations: 4 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004614/0.3219, allocations: 111.6 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.457e-06/0.3219, allocations: 3.938 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 3.415e-05/0.322, allocations: 0 / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.266e-05/0.322, allocations: 0 / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.303e-05/0.322, allocations: 4 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.688e-05/0.3221, allocations: 4 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.033e-06/0.3221, allocations: 3.938 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.3223, allocations: 107.8 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.292e-06/0.3223, allocations: 0 / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.247e-05/0.3223, allocations: 0 / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.3225, allocations: 99.77 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3226, allocations: 0 / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3226, allocations: 0 / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3226, allocations: 3.938 kB / 1.33 GB, free: 14.21 MB / 1.029 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.00033/0.3229, allocations: 279.2 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.3229, allocations: 8.031 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.323, allocations: 84.22 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.3231, allocations: 185.7 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.418e-05/0.3232, allocations: 154.9 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.02e-05/0.3233, allocations: 150.9 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.205e-05/0.3234, allocations: 109.1 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.666e-05/0.3234, allocations: 79.28 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.409e-05/0.3235, allocations: 158.5 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.047e-05/0.3235, allocations: 154.6 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.641e-05/0.3236, allocations: 150.6 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.3239, allocations: 397.5 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.324, allocations: 173.1 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.941e-05/0.3241, allocations: 80.14 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.3241, allocations: 75.28 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.319e-05/0.3242, allocations: 109.8 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.3242, allocations: 0 / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.54e-05/0.3242, allocations: 33.58 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.807e-05/0.3243, allocations: 130.7 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.3244, allocations: 97.86 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.3244, allocations: 29.64 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.662e-05/0.3245, allocations: 80.14 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/0.3245, allocations: 4.125 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.227e-05/0.3245, allocations: 17.66 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3246, allocations: 310.8 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-06/0.3246, allocations: 0 / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.505e-06/0.3247, allocations: 0 / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.372e-05/0.3247, allocations: 75.28 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.103e-05/0.3247, allocations: 83.28 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.972e-05/0.3248, allocations: 33.62 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.65e-05/0.3248, allocations: 87.22 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.743e-05/0.3249, allocations: 79.28 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.997e-05/0.325, allocations: 150.6 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.382e-05/0.325, allocations: 83.34 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-05/0.3251, allocations: 158.6 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.828e-05/0.3251, allocations: 79.22 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.3252, allocations: 75.28 kB / 1.334 GB, free: 10.15 MB / 1.029 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.0001408/0.3253, allocations: 264.9 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.079e-05/0.3254, allocations: 112.9 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.589e-05/0.3255, allocations: 108.1 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.331e-05/0.3255, allocations: 180.3 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.619e-05/0.3256, allocations: 180.2 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.354e-05/0.3257, allocations: 184.2 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.3259, allocations: 356.8 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.335e-05/0.326, allocations: 105 kB / 1.335 GB, free: 8.594 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.043e-05/0.3261, allocations: 101 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.921e-05/0.3261, allocations: 184.2 kB / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.568e-05/0.3262, allocations: 184.2 kB / 1.335 GB, free: 8.113 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.45e-05/0.3263, allocations: 180.2 kB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.171e-05/0.3264, allocations: 180.3 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.3266, allocations: 303.8 kB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.3266, allocations: 109 kB / 1.336 GB, free: 7.312 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.592e-05/0.3267, allocations: 184.1 kB / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.487e-05/0.3268, allocations: 105 kB / 1.336 GB, free: 7.016 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.201e-05/0.3269, allocations: 188.2 kB / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.386e-05/0.3269, allocations: 104.9 kB / 1.337 GB, free: 6.715 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.497e-05/0.327, allocations: 83.22 kB / 1.337 GB, free: 6.633 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.327, allocations: 0 / 1.337 GB, free: 6.633 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003433/0.3273, allocations: 43.8 kB / 1.337 GB, free: 6.59 MB / 1.029 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.0006151/0.3279, allocations: 323.8 kB / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 3.491e-05/0.328, allocations: 0 / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.328, allocations: 0 / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.328, allocations: 4 kB / 1.337 GB, free: 6.301 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.3284, allocations: 463.6 kB / 1.338 GB, free: 5.844 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/0.3286, allocations: 182.6 kB / 1.338 GB, free: 5.633 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.06e-05/0.3287, allocations: 59.34 kB / 1.338 GB, free: 5.555 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.506e-05/0.3287, allocations: 7.438 kB / 1.338 GB, free: 5.547 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3287, allocations: 0 / 1.338 GB, free: 5.547 MB / 1.029 GB Notification: Performance of Templates: time 0.003129/0.3318, allocations: 1.166 MB / 1.339 GB, free: 4.387 MB / 1.029 GB " [Timeout remaining time 300] 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.395742289023474]