Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.001473/0.001473, allocations: 77.97 kB / 20.68 MB, free: 3.809 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.001537/0.001537, allocations: 177 kB / 24.08 MB, free: 416 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.9832/0.9832, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.899/1.899, allocations: 377.9 MB / 0.6239 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] 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.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.812 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.266e-05, allocations: 2.312 kB / 0.812 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001692/0.001714, allocations: 1.319 MB / 0.8133 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001674/0.003389, allocations: 1.587 MB / 0.8148 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.356e-05/0.003432, allocations: 1.406 kB / 0.8149 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.923e-05/0.003452, allocations: 0 / 0.8149 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.003653, allocations: 19.92 kB / 0.8149 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000488/0.004141, allocations: 211.6 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.05e-05/0.004211, allocations: 23.92 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 2.971e-05/0.004241, allocations: 0 / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.004372, allocations: 37.78 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.951e-05/0.004422, allocations: 7.984 kB / 0.8151 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.004434, allocations: 4 kB / 0.8151 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002313/0.004665, allocations: 143.8 kB / 0.8153 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.004679, allocations: 15.92 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.451e-05/0.004693, allocations: 4.969 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.004892, allocations: 167.5 kB / 0.8155 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004894, allocations: 0 / 0.8155 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.31e-07/0.004895, allocations: 1.656 kB / 0.8155 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.004898, allocations: 0 / 0.8155 GB, free: 13.88 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.000283/0.005181, allocations: 392 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.005216, allocations: 19.97 kB / 0.8159 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003014/0.005517, allocations: 126 kB / 0.816 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.829e-05/0.005615, allocations: 231.8 kB / 0.8162 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.937e-05/0.005665, allocations: 238.8 kB / 0.8164 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.29e-05/0.005718, allocations: 246.7 kB / 0.8167 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.898e-05/0.005777, allocations: 146.4 kB / 0.8168 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.005804, allocations: 123.1 kB / 0.8169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.729e-05/0.005852, allocations: 242.4 kB / 0.8171 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.916e-05/0.005901, allocations: 239.1 kB / 0.8174 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.208e-05/0.005953, allocations: 242.3 kB / 0.8176 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002145/0.006168, allocations: 0.554 MB / 0.8181 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.501e-05/0.006243, allocations: 277.3 kB / 0.8184 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.778e-05/0.00627, allocations: 132.5 kB / 0.8185 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.006297, allocations: 123.2 kB / 0.8187 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.006336, allocations: 156.6 kB / 0.8188 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.006337, allocations: 3.938 kB / 0.8188 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.264e-05/0.006389, allocations: 26.3 kB / 0.8188 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.006438, allocations: 178.5 kB / 0.819 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.941e-05/0.006527, allocations: 162.6 kB / 0.8192 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.006537, allocations: 25.7 kB / 0.8192 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/0.006578, allocations: 131.5 kB / 0.8193 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.00658, allocations: 1.031 kB / 0.8193 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.006606, allocations: 23.38 kB / 0.8193 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.006718, allocations: 0.4884 MB / 0.8198 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.013e-06/0.006725, allocations: 0.7812 kB / 0.8198 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-05/0.006779, allocations: 117.5 kB / 0.8199 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.455e-05/0.006814, allocations: 39 kB / 0.82 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006816, allocations: 1.188 kB / 0.82 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.927e-05/0.006905, allocations: 50.11 kB / 0.82 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.006917, allocations: 4 kB / 0.82 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.006922, allocations: 4.844 kB / 0.82 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.006936, allocations: 0 / 0.82 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.084e-05/0.006997, allocations: 8.75 kB / 0.82 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.007002, allocations: 3.938 kB / 0.82 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.283e-05/0.007074, allocations: 8.875 kB / 0.82 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.007084, allocations: 11.98 kB / 0.82 GB, free: 8.941 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.171e-05/0.007165, allocations: 277.1 kB / 0.8203 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.007209, allocations: 144.9 kB / 0.8204 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.474e-05/0.007254, allocations: 152 kB / 0.8206 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-05/0.007315, allocations: 268.9 kB / 0.8209 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.632e-05/0.007372, allocations: 272 kB / 0.8211 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-05/0.00743, allocations: 277.9 kB / 0.8214 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.007583, allocations: 476.5 kB / 0.8218 GB, free: 7.039 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.27e-05/0.007616, allocations: 148.8 kB / 0.822 GB, free: 6.887 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.498e-05/0.007651, allocations: 156.9 kB / 0.8221 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.327e-05/0.007704, allocations: 264.1 kB / 0.8224 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.842e-05/0.007763, allocations: 272.9 kB / 0.8226 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-05/0.007818, allocations: 272 kB / 0.8229 GB, free: 5.914 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003284/0.008147, allocations: 275.5 kB / 0.8232 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.008257, allocations: 447.9 kB / 0.8236 GB, free: 5.176 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.881e-05/0.008296, allocations: 148.9 kB / 0.8237 GB, free: 5.023 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.3e-05/0.008359, allocations: 264.1 kB / 0.824 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.128e-05/0.008411, allocations: 152.8 kB / 0.8241 GB, free: 4.602 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.008468, allocations: 268.1 kB / 0.8244 GB, free: 4.332 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.008501, allocations: 153.1 kB / 0.8245 GB, free: 4.176 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.597e-05/0.008537, allocations: 127.1 kB / 0.8246 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008537, allocations: 0 / 0.8246 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002154/0.008752, allocations: 51.8 kB / 0.8247 GB, free: 4 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.0004652/0.009218, allocations: 414.3 kB / 0.8251 GB, free: 3.641 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.087e-05/0.009278, allocations: 19.66 kB / 0.8251 GB, free: 3.617 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.00928, allocations: 3.375 kB / 0.8251 GB, free: 3.617 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.903e-06/0.009282, allocations: 7.938 kB / 0.8251 GB, free: 3.609 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.009557, allocations: 0.7085 MB / 0.8258 GB, free: 2.898 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/0.009929, allocations: 225.7 kB / 0.826 GB, free: 2.648 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.585e-05/0.009955, allocations: 51.36 kB / 0.8261 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.189e-05/0.009977, allocations: 0 / 0.8261 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/0.01002, allocations: 79.12 kB / 0.8262 GB, free: 2.5 MB / 0.7761 GB Notification: Performance of SimCode: time 7.31e-07/0.01002, allocations: 0 / 0.8262 GB, free: 2.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.003221/0.01324, allocations: 1.944 MB / 0.828 GB, free: 0.5938 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.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.147216260898858]