Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001101/0.001101, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001003/0.001003, allocations: 165 kB / 23.82 MB, free: 0.75 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.9799/0.9799, allocations: 177.1 MB / 204.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.779/1.779, allocations: 359 MB / 0.6052 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.193e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002782/0.002814, allocations: 1.293 MB / 0.7884 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001798/0.004612, allocations: 1.128 MB / 0.7895 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.104e-05/0.004643, allocations: 3.938 kB / 0.7895 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.795e-05/0.004671, allocations: 0 / 0.7895 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005736/0.005244, allocations: 116 kB / 0.7896 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.376e-06/0.005248, allocations: 0.9062 kB / 0.7896 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.671e-05/0.005294, allocations: 0 / 0.7896 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.002e-05/0.005344, allocations: 4.656 kB / 0.7896 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.156e-05/0.005376, allocations: 3.938 kB / 0.7896 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.715e-05/0.005433, allocations: 5.016 kB / 0.7896 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.906e-06/0.005442, allocations: 0 / 0.7896 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002438/0.005686, allocations: 103.8 kB / 0.7897 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.095e-06/0.005694, allocations: 5.625 kB / 0.7897 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.445e-05/0.005708, allocations: 0 / 0.7897 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.005951, allocations: 127.6 kB / 0.7898 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.005954, allocations: 0 / 0.7898 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.593e-06/0.005956, allocations: 0 / 0.7898 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.005961, allocations: 1.219 kB / 0.7898 GB, free: 9.645 MB / 0.7448 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.000338/0.006299, allocations: 372 kB / 0.7902 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.006348, allocations: 8.031 kB / 0.7902 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.476e-05/0.006413, allocations: 120.8 kB / 0.7903 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.006563, allocations: 233.4 kB / 0.7905 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.841e-05/0.006631, allocations: 238.8 kB / 0.7908 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.085e-05/0.006702, allocations: 242.7 kB / 0.791 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.863e-05/0.006781, allocations: 153.4 kB / 0.7911 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.138e-05/0.006822, allocations: 122.9 kB / 0.7913 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-05/0.006897, allocations: 242.5 kB / 0.7915 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.301e-05/0.00698, allocations: 242.4 kB / 0.7917 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.729e-05/0.007058, allocations: 238.4 kB / 0.7919 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.007372, allocations: 0.572 MB / 0.7925 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.007498, allocations: 269.4 kB / 0.7928 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.915e-05/0.007547, allocations: 126.9 kB / 0.7929 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.006e-05/0.007587, allocations: 119.2 kB / 0.793 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.902e-05/0.007646, allocations: 152.6 kB / 0.7931 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.007647, allocations: 0 / 0.7931 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.333e-05/0.00773, allocations: 38.41 kB / 0.7932 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/0.007803, allocations: 176.2 kB / 0.7933 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.007919, allocations: 153.9 kB / 0.7935 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.00793, allocations: 25.7 kB / 0.7935 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.368e-05/0.007974, allocations: 126.9 kB / 0.7936 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.007976, allocations: 0.9062 kB / 0.7936 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/0.008001, allocations: 19.31 kB / 0.7937 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.008155, allocations: 0.4894 MB / 0.7941 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.704e-06/0.008163, allocations: 4 kB / 0.7941 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.459e-06/0.008167, allocations: 0 / 0.7941 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.727e-05/0.008204, allocations: 120.5 kB / 0.7942 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.484e-05/0.008239, allocations: 119.2 kB / 0.7944 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.945e-05/0.008299, allocations: 30.05 kB / 0.7944 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.754e-05/0.008346, allocations: 123.2 kB / 0.7945 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.595e-05/0.008382, allocations: 123.9 kB / 0.7946 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.403e-05/0.008466, allocations: 246.4 kB / 0.7949 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.95e-05/0.008506, allocations: 128.2 kB / 0.795 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.423e-05/0.00857, allocations: 242.3 kB / 0.7952 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.283e-05/0.008653, allocations: 127.2 kB / 0.7953 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/0.00869, allocations: 128 kB / 0.7955 GB, free: 3.668 MB / 0.7448 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.0001388/0.008829, allocations: 391 kB / 0.7958 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.008896, allocations: 154.6 kB / 0.796 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.331e-05/0.008959, allocations: 148 kB / 0.7961 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.952e-05/0.009039, allocations: 272.2 kB / 0.7964 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.088e-05/0.00912, allocations: 272 kB / 0.7966 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-05/0.009201, allocations: 276.7 kB / 0.7969 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.009426, allocations: 491.9 kB / 0.7974 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-05/0.009474, allocations: 157.5 kB / 0.7975 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/0.009518, allocations: 144.9 kB / 0.7977 GB, free: 1.309 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.777e-05/0.009596, allocations: 268.7 kB / 0.7979 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.287e-05/0.009679, allocations: 273.1 kB / 0.7982 GB, free: 0.7656 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.606e-05/0.009755, allocations: 264.1 kB / 0.7984 GB, free: 0.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.79e-05/0.009832, allocations: 272 kB / 0.7987 GB, free: 232 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.01002, allocations: 444.5 kB / 0.7991 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.01007, allocations: 154.1 kB / 0.7993 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.6e-05/0.01016, allocations: 268.1 kB / 0.7995 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.672e-05/0.01024, allocations: 152.8 kB / 0.7997 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.255e-05/0.01032, allocations: 272 kB / 0.7999 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.088e-05/0.01038, allocations: 146 kB / 0.8001 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 5.348e-05/0.01043, allocations: 119.2 kB / 0.8002 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01043, allocations: 0.9062 kB / 0.8002 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003782/0.01081, allocations: 51.73 kB / 0.8002 GB, free: 14.59 MB / 0.7605 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.0006703/0.01148, allocations: 386.8 kB / 0.8006 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 4.418e-05/0.01152, allocations: 0 / 0.8006 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01152, allocations: 0 / 0.8006 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.01152, allocations: 2.906 kB / 0.8006 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.01196, allocations: 0.7062 MB / 0.8013 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.01225, allocations: 212.8 kB / 0.8015 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.781e-05/0.01229, allocations: 51.36 kB / 0.8015 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.438e-06/0.0123, allocations: 3.938 kB / 0.8015 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.725e-05/0.01232, allocations: 8.5 kB / 0.8015 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of SimCode: time 5.51e-07/0.01232, allocations: 0 / 0.8015 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of Templates: time 0.003802/0.01612, allocations: 1.033 MB / 0.8026 GB, free: 12.23 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.280548516195267]