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.001013/0.001013, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009626/0.0009626, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9548/0.9548, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.919/1.919, allocations: 377.8 MB / 0.6239 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.572e-05, allocations: 7.375 kB / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001688/0.001714, allocations: 1.291 MB / 0.8128 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.002776, allocations: 1.128 MB / 0.8139 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.882e-05/0.002804, allocations: 0 / 0.8139 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.002823, allocations: 0 / 0.8139 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003976/0.003221, allocations: 115.5 kB / 0.814 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 2.775e-06/0.003223, allocations: 0.875 kB / 0.814 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 3.756e-05/0.003261, allocations: 3.938 kB / 0.814 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.702e-05/0.003298, allocations: 4.781 kB / 0.814 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 2.347e-05/0.003321, allocations: 0 / 0.814 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.456e-05/0.003376, allocations: 8.031 kB / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.802e-06/0.003383, allocations: 0 / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.00354, allocations: 103.8 kB / 0.8141 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.562e-06/0.003546, allocations: 3.984 kB / 0.8141 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.31e-05/0.003559, allocations: 7.938 kB / 0.8141 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.003729, allocations: 117.2 kB / 0.8143 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.003732, allocations: 0 / 0.8143 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.142e-06/0.003733, allocations: 4 kB / 0.8143 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.003737, allocations: 0 / 0.8143 GB, free: 15.29 MB / 0.7761 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.0002695/0.004006, allocations: 373.4 kB / 0.8146 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.004043, allocations: 12.03 kB / 0.8146 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.004094, allocations: 120.1 kB / 0.8147 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.004211, allocations: 233.5 kB / 0.815 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.221e-05/0.004263, allocations: 242.8 kB / 0.8152 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.004311, allocations: 242.7 kB / 0.8154 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.787e-05/0.004369, allocations: 145.5 kB / 0.8156 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.004396, allocations: 119.4 kB / 0.8157 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.447e-05/0.004451, allocations: 247.3 kB / 0.8159 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.151e-05/0.004502, allocations: 242.4 kB / 0.8161 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.253e-05/0.004555, allocations: 239.1 kB / 0.8164 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/0.004766, allocations: 0.5681 MB / 0.8169 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.776e-05/0.004844, allocations: 265.9 kB / 0.8172 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.004877, allocations: 128.2 kB / 0.8173 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.004903, allocations: 127.2 kB / 0.8174 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.004947, allocations: 152.6 kB / 0.8176 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.004948, allocations: 0 / 0.8176 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.994e-05/0.005008, allocations: 32.2 kB / 0.8176 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.005068, allocations: 178.5 kB / 0.8178 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.185e-05/0.00516, allocations: 153.9 kB / 0.8179 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.005169, allocations: 25.7 kB / 0.8179 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/0.0052, allocations: 130.9 kB / 0.8181 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.005202, allocations: 0 / 0.8181 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.678e-05/0.005219, allocations: 15.91 kB / 0.8181 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.005327, allocations: 496.8 kB / 0.8186 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.348e-06/0.005331, allocations: 0 / 0.8186 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.036e-06/0.005334, allocations: 8.469 kB / 0.8186 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.742e-05/0.005362, allocations: 119.2 kB / 0.8187 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.608e-05/0.005388, allocations: 120.8 kB / 0.8188 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.575e-05/0.005423, allocations: 34.05 kB / 0.8188 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.005458, allocations: 127.1 kB / 0.8189 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-05/0.005485, allocations: 119.2 kB / 0.8191 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.903e-05/0.005544, allocations: 243 kB / 0.8193 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.72e-05/0.005572, allocations: 127.7 kB / 0.8194 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.017e-05/0.005622, allocations: 242.4 kB / 0.8196 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.101e-05/0.005673, allocations: 123.9 kB / 0.8198 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.005696, allocations: 123.2 kB / 0.8199 GB, free: 9.324 MB / 0.7761 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 9.997e-05/0.005796, allocations: 396.1 kB / 0.8203 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/0.005843, allocations: 152.8 kB / 0.8204 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.461e-05/0.005888, allocations: 152.7 kB / 0.8206 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.914e-05/0.005947, allocations: 268.3 kB / 0.8208 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.974e-05/0.006007, allocations: 281 kB / 0.8211 GB, free: 8.066 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.043e-05/0.006067, allocations: 272.1 kB / 0.8213 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.00623, allocations: 499.9 kB / 0.8218 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.424e-05/0.006264, allocations: 154 kB / 0.822 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.32e-05/0.006297, allocations: 144.9 kB / 0.8221 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.817e-05/0.006355, allocations: 272 kB / 0.8224 GB, free: 6.684 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.167e-05/0.006417, allocations: 264.9 kB / 0.8226 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.236e-05/0.00648, allocations: 268.1 kB / 0.8229 GB, free: 6.148 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.984e-05/0.006539, allocations: 278.2 kB / 0.8231 GB, free: 5.871 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.006667, allocations: 443.9 kB / 0.8236 GB, free: 5.41 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.983e-05/0.006707, allocations: 144.9 kB / 0.8237 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.579e-05/0.006773, allocations: 276.1 kB / 0.824 GB, free: 4.984 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.186e-05/0.006825, allocations: 148.8 kB / 0.8241 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.006886, allocations: 268 kB / 0.8244 GB, free: 4.562 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/0.006922, allocations: 155.6 kB / 0.8245 GB, free: 4.406 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.097e-05/0.006963, allocations: 119.2 kB / 0.8246 GB, free: 4.289 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006963, allocations: 0 / 0.8246 GB, free: 4.289 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002062/0.007169, allocations: 47.73 kB / 0.8247 GB, free: 4.242 MB / 0.7761 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.0004978/0.007667, allocations: 379.5 kB / 0.825 GB, free: 3.914 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 3.995e-05/0.007707, allocations: 0 / 0.825 GB, free: 3.914 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.007709, allocations: 0 / 0.825 GB, free: 3.914 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.007711, allocations: 1.344 kB / 0.825 GB, free: 3.914 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.00799, allocations: 0.71 MB / 0.8257 GB, free: 3.199 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002173/0.008207, allocations: 208.9 kB / 0.8259 GB, free: 2.965 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.849e-05/0.008236, allocations: 52.45 kB / 0.826 GB, free: 2.895 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.474e-06/0.008243, allocations: 0 / 0.826 GB, free: 2.895 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.392e-05/0.008257, allocations: 8.5 kB / 0.826 GB, free: 2.887 MB / 0.7761 GB Notification: Performance of SimCode: time 6.81e-07/0.008258, allocations: 0.6562 kB / 0.826 GB, free: 2.887 MB / 0.7761 GB Notification: Performance of Templates: time 0.002393/0.01065, allocations: 1.026 MB / 0.827 GB, free: 1.887 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 240] 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","",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.099454849027097]