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.001847/0.001847, allocations: 79.34 kB / 19.76 MB, free: 2.035 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.002248/0.002248, allocations: 158.7 kB / 23.01 MB, free: 4.941 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.581/1.581, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.808/2.808, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 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.002116/0.002116, allocations: 71.88 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9475/0.9496, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002086/0.9517, allocations: 1.269 MB / 1.155 GB, free: 32.47 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.953, allocations: 1.095 MB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.953, allocations: 0 / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.144e-05/0.9531, allocations: 0 / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004254/0.9535, allocations: 108 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 3.437e-06/0.9535, allocations: 0 / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 4.443e-05/0.9535, allocations: 2.812 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.599e-05/0.9536, allocations: 3.422 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.563e-05/0.9536, allocations: 2.75 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.538e-05/0.9537, allocations: 0 / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.672e-06/0.9537, allocations: 4 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.9538, allocations: 109.8 kB / 1.156 GB, free: 31.61 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.426e-06/0.9539, allocations: 3.984 kB / 1.156 GB, free: 31.61 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.145e-05/0.9539, allocations: 0 / 1.156 GB, free: 31.61 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.954, allocations: 106.8 kB / 1.157 GB, free: 31.58 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.9541, allocations: 0 / 1.157 GB, free: 31.58 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9541, allocations: 0 / 1.157 GB, free: 31.58 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.9541, allocations: 0 / 1.157 GB, free: 31.58 MB / 1.076 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.000254/0.9543, allocations: 274.1 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.9543, allocations: 8 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.9544, allocations: 76.22 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.149e-05/0.9545, allocations: 192.3 kB / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.9545, allocations: 153.5 kB / 1.157 GB, free: 30.87 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.9545, allocations: 150.9 kB / 1.157 GB, free: 30.72 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.676e-05/0.9546, allocations: 109 kB / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.9546, allocations: 77.97 kB / 1.158 GB, free: 30.53 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.9546, allocations: 154.5 kB / 1.158 GB, free: 30.38 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.9546, allocations: 153.8 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.361e-05/0.9547, allocations: 153 kB / 1.158 GB, free: 30.08 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.9548, allocations: 396.6 kB / 1.158 GB, free: 29.67 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.55e-05/0.9549, allocations: 165.1 kB / 1.159 GB, free: 29.5 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.94e-05/0.9549, allocations: 94.59 kB / 1.159 GB, free: 29.4 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.9549, allocations: 75.28 kB / 1.159 GB, free: 29.33 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.9549, allocations: 116.5 kB / 1.159 GB, free: 29.21 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.9549, allocations: 0 / 1.159 GB, free: 29.21 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 6.566e-05/0.955, allocations: 32.92 kB / 1.159 GB, free: 29.17 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.955, allocations: 126.7 kB / 1.159 GB, free: 29.04 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.569e-05/0.9551, allocations: 94.95 kB / 1.159 GB, free: 28.94 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.651e-06/0.9551, allocations: 25.7 kB / 1.159 GB, free: 28.91 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.484e-05/0.9551, allocations: 81.17 kB / 1.159 GB, free: 28.82 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.9551, allocations: 0 / 1.159 GB, free: 28.82 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.692e-05/0.9551, allocations: 16.34 kB / 1.159 GB, free: 28.8 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.325e-05/0.9552, allocations: 318.1 kB / 1.159 GB, free: 28.49 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-06/0.9552, allocations: 0 / 1.159 GB, free: 28.49 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.916e-06/0.9552, allocations: 6.656 kB / 1.159 GB, free: 28.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.23e-05/0.9552, allocations: 75.28 kB / 1.16 GB, free: 28.41 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/0.9552, allocations: 75.28 kB / 1.16 GB, free: 28.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.417e-05/0.9552, allocations: 28.27 kB / 1.16 GB, free: 28.3 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.9553, allocations: 84.66 kB / 1.16 GB, free: 28.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.9553, allocations: 75.28 kB / 1.16 GB, free: 28.15 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.071e-05/0.9553, allocations: 160.9 kB / 1.16 GB, free: 28 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.078e-05/0.9553, allocations: 78.52 kB / 1.16 GB, free: 27.92 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.181e-05/0.9553, allocations: 165 kB / 1.16 GB, free: 27.76 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.406e-05/0.9554, allocations: 75.28 kB / 1.16 GB, free: 27.69 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.9554, allocations: 82.02 kB / 1.16 GB, free: 27.61 MB / 1.076 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 6.948e-05/0.9555, allocations: 263.1 kB / 1.161 GB, free: 27.34 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.9555, allocations: 108.4 kB / 1.161 GB, free: 27.23 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.9555, allocations: 111 kB / 1.161 GB, free: 27.11 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.623e-05/0.9556, allocations: 184.2 kB / 1.161 GB, free: 26.93 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.533e-05/0.9556, allocations: 176.3 kB / 1.161 GB, free: 26.75 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.329e-05/0.9556, allocations: 183 kB / 1.161 GB, free: 26.56 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.9557, allocations: 354.9 kB / 1.162 GB, free: 26.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/0.9557, allocations: 105 kB / 1.162 GB, free: 26.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.62e-05/0.9558, allocations: 111.9 kB / 1.162 GB, free: 25.96 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.429e-05/0.9558, allocations: 179.5 kB / 1.162 GB, free: 25.78 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.9558, allocations: 186.9 kB / 1.162 GB, free: 25.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.338e-05/0.9558, allocations: 180.2 kB / 1.162 GB, free: 25.41 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.528e-05/0.9559, allocations: 179 kB / 1.163 GB, free: 25.23 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.536e-05/0.9559, allocations: 308.7 kB / 1.163 GB, free: 24.91 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.879e-05/0.956, allocations: 104.9 kB / 1.163 GB, free: 24.8 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.956, allocations: 186.3 kB / 1.163 GB, free: 24.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.347e-05/0.956, allocations: 101 kB / 1.163 GB, free: 24.52 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.9561, allocations: 186.9 kB / 1.163 GB, free: 24.33 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.9561, allocations: 105 kB / 1.163 GB, free: 24.22 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.187e-05/0.9561, allocations: 77.75 kB / 1.164 GB, free: 24.14 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9561, allocations: 0 / 1.164 GB, free: 24.14 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003141/0.9564, allocations: 39.31 kB / 1.164 GB, free: 24.13 MB / 1.076 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.0005297/0.957, allocations: 327.2 kB / 1.164 GB, free: 23.92 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 4.177e-05/0.957, allocations: 3.938 kB / 1.164 GB, free: 23.91 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.957, allocations: 0 / 1.164 GB, free: 23.91 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.957, allocations: 2.75 kB / 1.164 GB, free: 23.91 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.9573, allocations: 458.6 kB / 1.164 GB, free: 23.46 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002178/0.9575, allocations: 166.8 kB / 1.165 GB, free: 23.29 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.321e-05/0.9575, allocations: 61.38 kB / 1.165 GB, free: 23.21 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.654e-06/0.9575, allocations: 0 / 1.165 GB, free: 23.21 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.225e-05/0.9575, allocations: 8.5 kB / 1.165 GB, free: 23.2 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.9575, allocations: 0 / 1.165 GB, free: 23.2 MB / 1.076 GB Notification: Performance of Templates: time 0.003291/0.9608, allocations: 0.9996 MB / 1.166 GB, free: 23.05 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 9.209930288023315]