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.001368/0.001368, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009391/0.0009391, allocations: 161 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.921/0.921, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.963/1.963, allocations: 377.8 MB / 0.6236 GB, free: 8.582 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.724e-06/1.724e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.057e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001494/0.001515, allocations: 1.301 MB / 0.8128 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.002676, allocations: 1.13 MB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.585e-05/0.002702, allocations: 0 / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.141e-05/0.002723, allocations: 1.469 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003811/0.003104, allocations: 107.5 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 2.826e-06/0.003107, allocations: 0 / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 3.136e-05/0.003138, allocations: 5.125 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.189e-05/0.00317, allocations: 0 / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 2.339e-05/0.003194, allocations: 7.922 kB / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.626e-05/0.00324, allocations: 8.562 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.863e-06/0.003247, allocations: 0 / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.003403, allocations: 113.2 kB / 0.8141 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.27e-06/0.003408, allocations: 0 / 0.8141 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.498e-06/0.003417, allocations: 0 / 0.8141 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.003571, allocations: 123.6 kB / 0.8143 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003573, allocations: 1.031 kB / 0.8143 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003573, allocations: 0 / 0.8143 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.003577, allocations: 0 / 0.8143 GB, free: 14.95 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.0002486/0.003826, allocations: 372.7 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.003858, allocations: 8.031 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.003902, allocations: 129 kB / 0.8148 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.004009, allocations: 227.8 kB / 0.815 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.303e-05/0.004062, allocations: 239.4 kB / 0.8152 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.434e-05/0.004116, allocations: 244.6 kB / 0.8154 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.415e-05/0.00417, allocations: 145.5 kB / 0.8156 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/0.004199, allocations: 119.4 kB / 0.8157 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.706e-05/0.004256, allocations: 242.5 kB / 0.8159 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.538e-05/0.004312, allocations: 246.3 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.567e-05/0.004367, allocations: 243.5 kB / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.004579, allocations: 0.5642 MB / 0.8169 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003782/0.004958, allocations: 269.4 kB / 0.8172 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.309e-05/0.004991, allocations: 127.8 kB / 0.8173 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.005016, allocations: 119.2 kB / 0.8174 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.005058, allocations: 164.5 kB / 0.8176 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.005059, allocations: 0.75 kB / 0.8176 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 4.577e-05/0.005105, allocations: 25.7 kB / 0.8176 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.005152, allocations: 175.4 kB / 0.8178 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.629e-05/0.005228, allocations: 155.2 kB / 0.8179 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.214e-06/0.005235, allocations: 25.7 kB / 0.8179 GB, free: 11 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.147e-05/0.005267, allocations: 126.9 kB / 0.8181 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.293e-06/0.005268, allocations: 1.062 kB / 0.8181 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.711e-05/0.005285, allocations: 23.36 kB / 0.8181 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.005388, allocations: 496.1 kB / 0.8186 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.298e-06/0.005392, allocations: 0.9688 kB / 0.8186 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-06/0.005395, allocations: 0 / 0.8186 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.477e-05/0.00542, allocations: 123.1 kB / 0.8187 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.448e-05/0.005444, allocations: 121 kB / 0.8188 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.549e-05/0.00548, allocations: 30.05 kB / 0.8188 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.04e-05/0.00552, allocations: 123.2 kB / 0.8189 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.601e-05/0.005546, allocations: 127.1 kB / 0.8191 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.094e-05/0.005607, allocations: 242.3 kB / 0.8193 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.238e-05/0.00564, allocations: 128.6 kB / 0.8194 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.685e-05/0.005696, allocations: 246.3 kB / 0.8197 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.031e-05/0.005747, allocations: 123.2 kB / 0.8198 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.005771, allocations: 119.2 kB / 0.8199 GB, free: 8.984 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 0.0001085/0.005879, allocations: 397 kB / 0.8203 GB, free: 8.586 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.005927, allocations: 152.8 kB / 0.8204 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.84e-05/0.005975, allocations: 152 kB / 0.8206 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.747e-05/0.006033, allocations: 276.2 kB / 0.8208 GB, free: 8 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.473e-05/0.006088, allocations: 272.6 kB / 0.8211 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.318e-05/0.006141, allocations: 272.1 kB / 0.8213 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.006284, allocations: 496.6 kB / 0.8218 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.213e-05/0.006317, allocations: 148.9 kB / 0.822 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3e-05/0.006347, allocations: 162.6 kB / 0.8221 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.163e-05/0.006398, allocations: 264.1 kB / 0.8224 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.265e-05/0.006461, allocations: 268 kB / 0.8226 GB, free: 6.074 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.152e-05/0.006512, allocations: 272.1 kB / 0.8229 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.086e-05/0.006563, allocations: 264.1 kB / 0.8231 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.006672, allocations: 448.5 kB / 0.8236 GB, free: 5.07 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.006708, allocations: 153.5 kB / 0.8237 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.924e-05/0.006767, allocations: 268.1 kB / 0.824 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.011e-05/0.006817, allocations: 149.4 kB / 0.8241 GB, free: 4.492 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.006874, allocations: 272 kB / 0.8244 GB, free: 4.219 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002893/0.007163, allocations: 146.1 kB / 0.8245 GB, free: 4.07 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.794e-05/0.007201, allocations: 127.2 kB / 0.8246 GB, free: 3.945 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007201, allocations: 0.5312 kB / 0.8246 GB, free: 3.945 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001994/0.0074, allocations: 41.02 kB / 0.8247 GB, free: 3.906 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.0003914/0.007792, allocations: 377.3 kB / 0.825 GB, free: 3.578 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 3.121e-05/0.007823, allocations: 7.938 kB / 0.825 GB, free: 3.57 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.007824, allocations: 0 / 0.825 GB, free: 3.57 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.007825, allocations: 4 kB / 0.825 GB, free: 3.566 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.008084, allocations: 0.7023 MB / 0.8257 GB, free: 2.859 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001737/0.008258, allocations: 205.6 kB / 0.8259 GB, free: 2.629 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.642e-05/0.008284, allocations: 54.8 kB / 0.826 GB, free: 2.559 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.83e-06/0.00829, allocations: 4 kB / 0.826 GB, free: 2.555 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.085e-05/0.008301, allocations: 8.5 kB / 0.826 GB, free: 2.547 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.008301, allocations: 0 / 0.826 GB, free: 2.547 MB / 0.7761 GB Notification: Performance of Templates: time 0.002171/0.01047, allocations: 1.026 MB / 0.827 GB, free: 1.555 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.139040196780115]