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.0007725/0.0007725, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.001804, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001038/0.001038, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001467/0.002505, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9724/0.9724, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09603/1.068, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.301/2.301, allocations: 447.1 MB / 0.675 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2336/2.535, allocations: 146 MB / 0.8176 GB, free: 3.793 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.8189 GB, free: 2.453 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.275e-05, allocations: 4.562 kB / 0.8189 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002318/0.002341, allocations: 1.341 MB / 0.8202 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.003411, allocations: 1.162 MB / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.621e-05/0.003427, allocations: 0 / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 6.031e-06/0.003434, allocations: 0 / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.003668, allocations: 107.4 kB / 0.8215 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 3.517e-06/0.003671, allocations: 4 kB / 0.8215 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 3.249e-05/0.003704, allocations: 4 kB / 0.8215 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.664e-05/0.00374, allocations: 3.938 kB / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.388e-05/0.003784, allocations: 7.984 kB / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.642e-05/0.003831, allocations: 2.406 kB / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.873e-06/0.003837, allocations: 0 / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.004025, allocations: 115.8 kB / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.237e-06/0.004034, allocations: 3.938 kB / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.514e-06/0.004042, allocations: 0 / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.00419, allocations: 111.7 kB / 0.8217 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.129e-05/0.004201, allocations: 0 / 0.8217 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.41e-07/0.004202, allocations: 4 kB / 0.8217 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.004215, allocations: 0 / 0.8217 GB, free: 15.57 MB / 0.8073 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.0002582/0.004473, allocations: 260.3 kB / 0.822 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.004504, allocations: 16.02 kB / 0.822 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.004543, allocations: 76.22 kB / 0.8221 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.701e-05/0.00464, allocations: 181 kB / 0.8222 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.004673, allocations: 154.9 kB / 0.8224 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.969e-05/0.004713, allocations: 154.9 kB / 0.8225 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.513e-05/0.004758, allocations: 105.5 kB / 0.8226 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.004776, allocations: 75.47 kB / 0.8227 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.00481, allocations: 162.7 kB / 0.8229 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.383e-05/0.004844, allocations: 150.6 kB / 0.823 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.221e-05/0.004877, allocations: 154.5 kB / 0.8232 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.005011, allocations: 353.3 kB / 0.8235 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.982e-05/0.005071, allocations: 177.1 kB / 0.8237 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.919e-05/0.00509, allocations: 80.14 kB / 0.8237 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.005106, allocations: 79.28 kB / 0.8238 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.005135, allocations: 105.8 kB / 0.8239 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 5.1e-07/0.005135, allocations: 0 / 0.8239 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.674e-05/0.005182, allocations: 29.64 kB / 0.8239 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.005221, allocations: 134.7 kB / 0.8241 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.714e-05/0.005288, allocations: 98.66 kB / 0.8242 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.005296, allocations: 25.7 kB / 0.8242 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.716e-05/0.005313, allocations: 88.08 kB / 0.8243 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.21e-07/0.005314, allocations: 0 / 0.8243 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.425e-05/0.005328, allocations: 13.7 kB / 0.8243 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.872e-05/0.005397, allocations: 314.8 kB / 0.8246 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.705e-06/0.0054, allocations: 0 / 0.8246 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.096e-06/0.005403, allocations: 0 / 0.8246 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.728e-05/0.00542, allocations: 75.28 kB / 0.8247 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.667e-05/0.005437, allocations: 79.39 kB / 0.8247 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.06e-05/0.005467, allocations: 37.64 kB / 0.8248 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.005492, allocations: 79.28 kB / 0.8248 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.00551, allocations: 79.28 kB / 0.8249 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.708e-05/0.005547, allocations: 158.5 kB / 0.8251 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.603e-05/0.005563, allocations: 79.27 kB / 0.8251 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.024e-05/0.005593, allocations: 150.6 kB / 0.8253 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.005641, allocations: 91.16 kB / 0.8254 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.005656, allocations: 75.28 kB / 0.8254 GB, free: 11.59 MB / 0.8073 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 7.317e-05/0.005729, allocations: 256.4 kB / 0.8257 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.005763, allocations: 113 kB / 0.8258 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.005793, allocations: 112.1 kB / 0.8259 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.645e-05/0.005829, allocations: 180.3 kB / 0.8261 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.718e-05/0.005867, allocations: 184.2 kB / 0.8263 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.39e-05/0.005901, allocations: 180.2 kB / 0.8264 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.00601, allocations: 321.6 kB / 0.8267 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.166e-05/0.006031, allocations: 105 kB / 0.8268 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.053e-05/0.006052, allocations: 101 kB / 0.8269 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.006078, allocations: 108.9 kB / 0.827 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-05/0.006112, allocations: 176.3 kB / 0.8272 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.786e-05/0.00615, allocations: 188.2 kB / 0.8274 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-05/0.006186, allocations: 188.2 kB / 0.8276 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.671e-05/0.006223, allocations: 180.2 kB / 0.8277 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.021e-05/0.006303, allocations: 303.8 kB / 0.828 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.006346, allocations: 184.2 kB / 0.8282 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.076e-05/0.006387, allocations: 101 kB / 0.8283 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.006428, allocations: 188.2 kB / 0.8285 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.006449, allocations: 105 kB / 0.8286 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.361e-05/0.006463, allocations: 8.859 kB / 0.8286 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006463, allocations: 3.938 kB / 0.8286 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001883/0.006651, allocations: 39.8 kB / 0.8286 GB, free: 8.156 MB / 0.8073 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.0004705/0.007122, allocations: 373.7 kB / 0.829 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 2.767e-05/0.00715, allocations: 3.938 kB / 0.829 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.007153, allocations: 0 / 0.829 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.007155, allocations: 0 / 0.829 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.007335, allocations: 463.6 kB / 0.8294 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002749/0.00761, allocations: 173.2 kB / 0.8296 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.716e-05/0.007637, allocations: 51.36 kB / 0.8296 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.674e-06/0.007645, allocations: 7.938 kB / 0.8296 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.007666, allocations: 47.38 kB / 0.8297 GB, free: 7.074 MB / 0.8073 GB Notification: Performance of SimCode: time 5.01e-07/0.007666, allocations: 0 / 0.8297 GB, free: 7.074 MB / 0.8073 GB Notification: Performance of Templates: time 0.002202/0.009868, allocations: 1.187 MB / 0.8309 GB, free: 5.898 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.052736537531018]