Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001234/0.001234, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.0009771/0.0009771, allocations: 173.7 kB / 23.28 MB, free: 1.219 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 1.036/1.036, allocations: 177.1 MB / 203.7 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.4/2.4, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 3.938 kB / 0.8898 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.837e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001821/0.001849, allocations: 1.331 MB / 0.8911 GB, free: 8.422 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.003529, allocations: 1.582 MB / 0.8926 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.237e-05/0.003571, allocations: 4 kB / 0.8926 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.962e-05/0.003591, allocations: 3.938 kB / 0.8926 GB, free: 6.824 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.003805, allocations: 15.94 kB / 0.8926 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005024/0.004307, allocations: 215.2 kB / 0.8928 GB, free: 6.598 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.985e-05/0.004377, allocations: 31.86 kB / 0.8929 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.913e-05/0.004416, allocations: 0 / 0.8929 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.004564, allocations: 35.84 kB / 0.8929 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.363e-05/0.004627, allocations: 3.984 kB / 0.8929 GB, free: 6.527 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.004642, allocations: 4 kB / 0.8929 GB, free: 6.523 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.004907, allocations: 147.8 kB / 0.893 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.004922, allocations: 7.984 kB / 0.893 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.781e-05/0.00494, allocations: 7.984 kB / 0.8931 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.005164, allocations: 171.5 kB / 0.8932 GB, free: 6.195 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.005168, allocations: 0 / 0.8932 GB, free: 6.195 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.192e-06/0.00517, allocations: 4 kB / 0.8932 GB, free: 6.191 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.005173, allocations: 0 / 0.8932 GB, free: 6.191 MB / 0.8542 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.0003306/0.005504, allocations: 392.3 kB / 0.8936 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.005551, allocations: 16.56 kB / 0.8936 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.474e-05/0.005616, allocations: 124.1 kB / 0.8937 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.005728, allocations: 227.8 kB / 0.8939 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.363e-05/0.005791, allocations: 242.7 kB / 0.8942 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-05/0.005856, allocations: 250.7 kB / 0.8944 GB, free: 4.902 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.559e-05/0.005922, allocations: 145.5 kB / 0.8946 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/0.005955, allocations: 127.1 kB / 0.8947 GB, free: 4.629 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.632e-05/0.006011, allocations: 242.4 kB / 0.8949 GB, free: 4.391 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-05/0.006068, allocations: 238.4 kB / 0.8951 GB, free: 4.156 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.334e-05/0.006121, allocations: 242.4 kB / 0.8954 GB, free: 3.918 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002304/0.006352, allocations: 0.557 MB / 0.8959 GB, free: 3.336 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.231e-05/0.006434, allocations: 265.4 kB / 0.8962 GB, free: 3.062 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.39e-05/0.006468, allocations: 126.9 kB / 0.8963 GB, free: 2.934 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.006497, allocations: 119.2 kB / 0.8964 GB, free: 2.816 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.006544, allocations: 160.6 kB / 0.8966 GB, free: 2.648 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.223e-06/0.006545, allocations: 0 / 0.8966 GB, free: 2.648 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 6.741e-05/0.006613, allocations: 33.59 kB / 0.8966 GB, free: 2.609 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.006672, allocations: 178.5 kB / 0.8968 GB, free: 2.422 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.727e-05/0.006769, allocations: 165.9 kB / 0.8969 GB, free: 2.242 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.006781, allocations: 29.7 kB / 0.8969 GB, free: 2.207 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.71e-05/0.006828, allocations: 130.9 kB / 0.8971 GB, free: 2.074 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.393e-06/0.00683, allocations: 0 / 0.8971 GB, free: 2.074 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.006859, allocations: 23.36 kB / 0.8971 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.006983, allocations: 0.4884 MB / 0.8976 GB, free: 1.543 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-06/0.006992, allocations: 0 / 0.8976 GB, free: 1.543 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.301e-05/0.007055, allocations: 112.4 kB / 0.8977 GB, free: 1.402 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.553e-05/0.007101, allocations: 38.98 kB / 0.8977 GB, free: 1.352 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.007104, allocations: 4 kB / 0.8977 GB, free: 1.348 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000101/0.007205, allocations: 45.64 kB / 0.8978 GB, free: 1.297 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.007222, allocations: 8 kB / 0.8978 GB, free: 1.289 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.007227, allocations: 0 / 0.8978 GB, free: 1.289 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.00724, allocations: 0 / 0.8978 GB, free: 1.289 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.819e-05/0.007318, allocations: 11.92 kB / 0.8978 GB, free: 1.277 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.007324, allocations: 4 kB / 0.8978 GB, free: 1.273 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.884e-05/0.007413, allocations: 3.938 kB / 0.8978 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.007425, allocations: 8.094 kB / 0.8978 GB, free: 1.262 MB / 0.8542 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 0.0001064/0.007531, allocations: 291.6 kB / 0.8981 GB, free: 0.9648 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.538e-05/0.007587, allocations: 148.8 kB / 0.8982 GB, free: 0.8125 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.22e-05/0.007649, allocations: 152 kB / 0.8984 GB, free: 0.6562 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.212e-05/0.007721, allocations: 272 kB / 0.8986 GB, free: 392 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.34e-05/0.007784, allocations: 268 kB / 0.8989 GB, free: 116 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.508e-05/0.007859, allocations: 272 kB / 0.8991 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.008024, allocations: 476.5 kB / 0.8996 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.815e-05/0.008062, allocations: 148.9 kB / 0.8997 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.37e-05/0.008096, allocations: 148.8 kB / 0.8999 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.517e-05/0.008161, allocations: 276.1 kB / 0.9001 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.626e-05/0.008227, allocations: 272.1 kB / 0.9004 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.733e-05/0.008305, allocations: 268.1 kB / 0.9006 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.053e-05/0.008365, allocations: 264.1 kB / 0.9009 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.008497, allocations: 452.1 kB / 0.9013 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.00854, allocations: 153 kB / 0.9015 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.569e-05/0.008606, allocations: 268.1 kB / 0.9017 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.075e-05/0.008666, allocations: 148.9 kB / 0.9019 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/0.008734, allocations: 272 kB / 0.9021 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.008769, allocations: 148.9 kB / 0.9023 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.324e-05/0.008812, allocations: 131.1 kB / 0.9024 GB, free: 12.35 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.008812, allocations: 4 kB / 0.9024 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002453/0.009057, allocations: 55.8 kB / 0.9025 GB, free: 12.29 MB / 0.8698 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.0005808/0.009638, allocations: 401.3 kB / 0.9028 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.031e-05/0.009718, allocations: 19.62 kB / 0.9029 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.009721, allocations: 0 / 0.9029 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.009722, allocations: 0 / 0.9029 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.01009, allocations: 0.7023 MB / 0.9035 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/0.01059, allocations: 237.8 kB / 0.9038 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.356e-05/0.01063, allocations: 55.36 kB / 0.9038 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.824e-05/0.01065, allocations: 3.938 kB / 0.9038 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.0107, allocations: 70.2 kB / 0.9039 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of SimCode: time 7.91e-07/0.0107, allocations: 4 kB / 0.9039 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of Templates: time 0.003357/0.01406, allocations: 1.943 MB / 0.9058 GB, free: 8.867 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.343945468775928]