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.00138/0.00138, allocations: 82.02 kB / 19.87 MB, free: 4.625 MB / 18.57 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.001469/0.001469, allocations: 173.7 kB / 23.27 MB, free: 1.23 MB / 18.57 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.9912/0.9912, allocations: 177.1 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] 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 2.302/2.302, allocations: 438.1 MB / 0.682 GB, free: 14.13 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.8898 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.121e-05/1.312e-05, allocations: 9.547 kB / 0.8898 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001411/0.001424, allocations: 1.294 MB / 0.891 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.00244, allocations: 1.126 MB / 0.8921 GB, free: 7.285 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.813e-05/0.002468, allocations: 0 / 0.8921 GB, free: 7.285 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.002485, allocations: 4 kB / 0.8921 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003661/0.002851, allocations: 115.4 kB / 0.8922 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 2.074e-06/0.002853, allocations: 0 / 0.8922 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.218e-05/0.002886, allocations: 0 / 0.8922 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.257e-05/0.002918, allocations: 8 kB / 0.8923 GB, free: 7.16 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.556e-05/0.002944, allocations: 3.938 kB / 0.8923 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.324e-05/0.002987, allocations: 0 / 0.8923 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.602e-06/0.002994, allocations: 0 / 0.8923 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.003149, allocations: 103.8 kB / 0.8924 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.019e-06/0.003154, allocations: 0 / 0.8924 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.063e-05/0.003165, allocations: 4 kB / 0.8924 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.003313, allocations: 127.5 kB / 0.8925 GB, free: 6.926 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.003315, allocations: 0 / 0.8925 GB, free: 6.926 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003315, allocations: 4 kB / 0.8925 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.003319, allocations: 0 / 0.8925 GB, free: 6.922 MB / 0.8542 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.0002189/0.003537, allocations: 372.3 kB / 0.8928 GB, free: 6.523 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.003574, allocations: 16.03 kB / 0.8929 GB, free: 6.508 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.003616, allocations: 120.1 kB / 0.893 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.236e-05/0.003708, allocations: 227.8 kB / 0.8932 GB, free: 6.141 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.9e-05/0.003757, allocations: 242.7 kB / 0.8934 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/0.003807, allocations: 242.7 kB / 0.8936 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.809e-05/0.003865, allocations: 149.5 kB / 0.8938 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.003895, allocations: 123.4 kB / 0.8939 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.244e-05/0.003947, allocations: 250.5 kB / 0.8941 GB, free: 5.145 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.863e-05/0.003996, allocations: 238.4 kB / 0.8944 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.812e-05/0.004044, allocations: 242.4 kB / 0.8946 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.00437, allocations: 0.5491 MB / 0.8951 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.431e-05/0.004444, allocations: 269.4 kB / 0.8954 GB, free: 3.82 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.898e-05/0.004473, allocations: 126.9 kB / 0.8955 GB, free: 3.691 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.004498, allocations: 123.2 kB / 0.8956 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.004537, allocations: 156.6 kB / 0.8958 GB, free: 3.406 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.613e-06/0.004539, allocations: 4 kB / 0.8958 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 4.348e-05/0.004582, allocations: 29.69 kB / 0.8958 GB, free: 3.367 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.004625, allocations: 178.5 kB / 0.896 GB, free: 3.18 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.81e-05/0.004703, allocations: 153.9 kB / 0.8961 GB, free: 3.012 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.004709, allocations: 25.7 kB / 0.8962 GB, free: 2.98 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.034e-05/0.00474, allocations: 130.9 kB / 0.8963 GB, free: 2.848 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.02e-07/0.004741, allocations: 0 / 0.8963 GB, free: 2.848 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.571e-05/0.004756, allocations: 15.38 kB / 0.8963 GB, free: 2.824 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.976e-05/0.004856, allocations: 492.1 kB / 0.8968 GB, free: 2.332 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.315e-06/0.004858, allocations: 0 / 0.8968 GB, free: 2.332 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-06/0.004862, allocations: 4.125 kB / 0.8968 GB, free: 2.328 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.461e-05/0.004886, allocations: 127.2 kB / 0.8969 GB, free: 2.203 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.102e-05/0.004907, allocations: 119.2 kB / 0.897 GB, free: 2.086 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.1e-05/0.004938, allocations: 29.7 kB / 0.897 GB, free: 2.051 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.004968, allocations: 127.2 kB / 0.8972 GB, free: 1.926 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-05/0.004992, allocations: 127.1 kB / 0.8973 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.974e-05/0.005042, allocations: 238.4 kB / 0.8975 GB, free: 1.566 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.626e-05/0.005068, allocations: 127.2 kB / 0.8976 GB, free: 1.441 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.691e-05/0.005115, allocations: 246.3 kB / 0.8979 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.389e-05/0.005159, allocations: 119.2 kB / 0.898 GB, free: 1.082 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.005185, allocations: 135.1 kB / 0.8981 GB, free: 0.9492 MB / 0.8542 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 8.508e-05/0.00527, allocations: 395 kB / 0.8985 GB, free: 0.5508 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.005311, allocations: 144.9 kB / 0.8986 GB, free: 412 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.005356, allocations: 160 kB / 0.8988 GB, free: 244 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.209e-05/0.005418, allocations: 264.1 kB / 0.899 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-05/0.005476, allocations: 272 kB / 0.8993 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.883e-05/0.005535, allocations: 272 kB / 0.8995 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.005686, allocations: 472.6 kB / 0.9 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.413e-05/0.00572, allocations: 156.8 kB / 0.9001 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.774e-05/0.005758, allocations: 144.9 kB / 0.9003 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.777e-05/0.005826, allocations: 276 kB / 0.9005 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.494e-05/0.005881, allocations: 272.1 kB / 0.9008 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.024e-05/0.005941, allocations: 264.1 kB / 0.9011 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.612e-05/0.005997, allocations: 268 kB / 0.9013 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.006119, allocations: 451.9 kB / 0.9017 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.339e-05/0.006152, allocations: 144.9 kB / 0.9019 GB, free: 12.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/0.006383, allocations: 268.1 kB / 0.9021 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.968e-05/0.006433, allocations: 156.8 kB / 0.9023 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.006487, allocations: 272 kB / 0.9025 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.006516, allocations: 149.2 kB / 0.9027 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.138e-05/0.006547, allocations: 123.2 kB / 0.9028 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.006547, allocations: 4.094 kB / 0.9028 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001983/0.006746, allocations: 39.8 kB / 0.9028 GB, free: 11.9 MB / 0.8698 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.0003671/0.007113, allocations: 387.9 kB / 0.9032 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 2.862e-05/0.007141, allocations: 4 kB / 0.9032 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.007143, allocations: 0 / 0.9032 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.61e-07/0.007144, allocations: 0 / 0.9032 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.007409, allocations: 0.7041 MB / 0.9039 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001754/0.007585, allocations: 216.6 kB / 0.9041 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.56e-05/0.00761, allocations: 55.34 kB / 0.9042 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.811e-06/0.007616, allocations: 0 / 0.9042 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.007642, allocations: 70.2 kB / 0.9042 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of SimCode: time 5.81e-07/0.007643, allocations: 0 / 0.9042 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of Templates: time 0.002363/0.01001, allocations: 1.185 MB / 0.9054 GB, free: 9.281 MB / 0.8698 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.207141185179353]