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.001816/0.001816, 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.00244/0.00244, allocations: 215.2 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.134/3.134, allocations: 0.4892 GB / 0.7951 GB, free: 35.66 MB / 0.6231 GB " [Timeout remaining time 177] 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.002069/0.002069, allocations: 65.27 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3394, allocations: 176.1 MB / 1.326 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002474/0.3419, allocations: 1.264 MB / 1.328 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.3436, allocations: 1.083 MB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.683e-05/0.3436, allocations: 4 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.3437, allocations: 0 / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004413/0.3441, allocations: 111.5 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.666e-06/0.3441, allocations: 0 / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 3.115e-05/0.3441, allocations: 4 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.214e-05/0.3442, allocations: 0 / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 1.76e-05/0.3442, allocations: 11.92 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.83e-05/0.3442, allocations: 0 / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.181e-06/0.3442, allocations: 0 / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.3444, allocations: 111.8 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.021e-06/0.3445, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.508e-05/0.3445, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.3447, allocations: 103.6 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3447, allocations: 4 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3447, allocations: 0 / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.3447, allocations: 0 / 1.329 GB, free: 15.15 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.0003318/0.345, allocations: 274 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.345, allocations: 12.03 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.808e-05/0.3451, allocations: 80.17 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.3453, allocations: 185.8 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.932e-05/0.3453, allocations: 154.9 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-05/0.3454, allocations: 150.9 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.494e-05/0.3455, allocations: 109.1 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.366e-05/0.3455, allocations: 79.22 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.648e-05/0.3456, allocations: 150.6 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-05/0.3457, allocations: 158.5 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.476e-05/0.3457, allocations: 158.5 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002843/0.346, allocations: 401.5 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.3461, allocations: 169.1 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.132e-05/0.3462, allocations: 80.14 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.337e-05/0.3462, allocations: 75.28 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.564e-05/0.3463, allocations: 113.8 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3463, allocations: 0 / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.328e-05/0.3463, allocations: 33.64 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/0.3464, allocations: 126.7 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.3465, allocations: 97.86 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.3465, allocations: 25.7 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.3466, allocations: 80.14 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.3466, allocations: 4 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.3466, allocations: 13.7 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3468, allocations: 314.8 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.188e-06/0.3468, allocations: 0 / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.344e-06/0.3468, allocations: 0 / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.328e-05/0.3468, allocations: 83.22 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.421e-05/0.3469, allocations: 75.28 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.023e-05/0.3469, allocations: 25.7 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.714e-05/0.347, allocations: 91.34 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.226e-05/0.347, allocations: 75.28 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.851e-05/0.3471, allocations: 154.5 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.819e-05/0.3471, allocations: 87.39 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.975e-05/0.3472, allocations: 158.5 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.046e-05/0.3473, allocations: 75.28 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.3473, allocations: 79.28 kB / 1.333 GB, free: 11.09 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.000141/0.3474, allocations: 260.9 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.896e-05/0.3475, allocations: 108.9 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.289e-05/0.3476, allocations: 112.1 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.953e-05/0.3477, allocations: 188.2 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.106e-05/0.3478, allocations: 180.3 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-05/0.3479, allocations: 180.3 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.3481, allocations: 356.7 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.781e-05/0.3481, allocations: 105 kB / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.498e-05/0.3482, allocations: 104.9 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.621e-05/0.3483, allocations: 180.3 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-05/0.3484, allocations: 184.2 kB / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.608e-05/0.3484, allocations: 180.2 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.001e-05/0.3485, allocations: 180.2 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.3487, allocations: 307.8 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-05/0.3488, allocations: 108.9 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.567e-05/0.3489, allocations: 184.2 kB / 1.335 GB, free: 8.062 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.389e-05/0.3489, allocations: 108.9 kB / 1.336 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.385e-05/0.349, allocations: 184.2 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-05/0.3491, allocations: 101 kB / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.876e-05/0.3491, allocations: 83.28 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3491, allocations: 0 / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003386/0.3495, allocations: 39.8 kB / 1.336 GB, free: 7.535 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.0006157/0.3501, allocations: 331.4 kB / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.407e-05/0.3501, allocations: 3.938 kB / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3501, allocations: 0 / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.3501, allocations: 0 / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.3506, allocations: 456.9 kB / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.3509, allocations: 190.6 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.338e-05/0.3509, allocations: 55.36 kB / 1.337 GB, free: 6.496 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.552e-05/0.3509, allocations: 7.438 kB / 1.337 GB, free: 6.488 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3509, allocations: 0 / 1.337 GB, free: 6.488 MB / 1.029 GB Notification: Performance of Templates: time 0.002892/0.3538, allocations: 1.174 MB / 1.338 GB, free: 5.32 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.195136745925993]