Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001281/0.001281, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001269/0.001269, 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 1.068/1.068, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.778/1.778, allocations: 359 MB / 0.6055 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.7871 GB, free: 11.64 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.376e-05, allocations: 6.25 kB / 0.7871 GB, free: 11.63 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001781/0.001805, allocations: 1.322 MB / 0.7884 GB, free: 10.32 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.003387, allocations: 1.577 MB / 0.7899 GB, free: 8.734 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.103e-05/0.003428, allocations: 3.938 kB / 0.7899 GB, free: 8.73 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/0.00345, allocations: 0.5625 kB / 0.7899 GB, free: 8.73 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.003676, allocations: 15.92 kB / 0.79 GB, free: 8.715 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005014/0.004177, allocations: 211 kB / 0.7902 GB, free: 8.512 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.561e-05/0.004253, allocations: 29.09 kB / 0.7902 GB, free: 8.484 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.971e-05/0.004293, allocations: 3.938 kB / 0.7902 GB, free: 8.48 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.004424, allocations: 19.98 kB / 0.7902 GB, free: 8.461 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.968e-05/0.004484, allocations: 16.53 kB / 0.7902 GB, free: 8.445 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.004497, allocations: 1.406 kB / 0.7902 GB, free: 8.445 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.004705, allocations: 151.8 kB / 0.7904 GB, free: 8.297 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.004719, allocations: 7.984 kB / 0.7904 GB, free: 8.289 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.93e-05/0.004738, allocations: 7.938 kB / 0.7904 GB, free: 8.281 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.004958, allocations: 168.5 kB / 0.7906 GB, free: 8.117 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.00496, allocations: 0 / 0.7906 GB, free: 8.117 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.132e-06/0.004961, allocations: 1.062 kB / 0.7906 GB, free: 8.117 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.004965, allocations: 0 / 0.7906 GB, free: 8.117 MB / 0.698 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.0003226/0.005288, allocations: 403.8 kB / 0.7909 GB, free: 7.688 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.005326, allocations: 8.531 kB / 0.7909 GB, free: 7.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.751e-05/0.005394, allocations: 124.1 kB / 0.7911 GB, free: 7.559 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.005527, allocations: 233.1 kB / 0.7913 GB, free: 7.305 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.197e-05/0.005589, allocations: 242.8 kB / 0.7915 GB, free: 7.066 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.549e-05/0.005655, allocations: 242.8 kB / 0.7917 GB, free: 6.828 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.438e-05/0.005719, allocations: 148.5 kB / 0.7919 GB, free: 6.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/0.00575, allocations: 123.1 kB / 0.792 GB, free: 6.559 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.875e-05/0.005809, allocations: 238.4 kB / 0.7922 GB, free: 6.324 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.796e-05/0.005867, allocations: 238.4 kB / 0.7925 GB, free: 6.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.197e-05/0.005929, allocations: 254.3 kB / 0.7927 GB, free: 5.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002357/0.006165, allocations: 0.5719 MB / 0.7933 GB, free: 5.234 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.972e-05/0.006254, allocations: 269.4 kB / 0.7935 GB, free: 4.957 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.542e-05/0.00629, allocations: 126.9 kB / 0.7936 GB, free: 4.828 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.006317, allocations: 123.9 kB / 0.7938 GB, free: 4.707 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.006362, allocations: 156.5 kB / 0.7939 GB, free: 4.543 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.006363, allocations: 1.656 kB / 0.7939 GB, free: 4.543 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.003e-05/0.006423, allocations: 33.64 kB / 0.7939 GB, free: 4.504 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.006479, allocations: 174.6 kB / 0.7941 GB, free: 4.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.006579, allocations: 166.1 kB / 0.7943 GB, free: 4.141 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.00659, allocations: 27.45 kB / 0.7943 GB, free: 4.109 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.351e-05/0.006633, allocations: 130.9 kB / 0.7944 GB, free: 3.977 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.006636, allocations: 0 / 0.7944 GB, free: 3.977 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.006666, allocations: 23.38 kB / 0.7944 GB, free: 3.945 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.006774, allocations: 0.4883 MB / 0.7949 GB, free: 3.445 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.073e-05/0.006785, allocations: 5.188 kB / 0.7949 GB, free: 3.441 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.71e-05/0.006852, allocations: 120.2 kB / 0.795 GB, free: 3.293 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.243e-05/0.006894, allocations: 32.59 kB / 0.7951 GB, free: 3.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.006897, allocations: 0 / 0.7951 GB, free: 3.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001124/0.007009, allocations: 51.31 kB / 0.7951 GB, free: 3.195 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.007022, allocations: 8 kB / 0.7951 GB, free: 3.188 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.007026, allocations: 0 / 0.7951 GB, free: 3.188 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.007042, allocations: 4.844 kB / 0.7951 GB, free: 3.184 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.155e-05/0.007104, allocations: 4 kB / 0.7951 GB, free: 3.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.007111, allocations: 7.938 kB / 0.7951 GB, free: 3.172 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.955e-05/0.00719, allocations: 4.484 kB / 0.7951 GB, free: 3.168 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.007201, allocations: 12.64 kB / 0.7952 GB, free: 3.156 MB / 0.698 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.788e-05/0.007289, allocations: 280.2 kB / 0.7954 GB, free: 2.871 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.007483, allocations: 144.9 kB / 0.7956 GB, free: 2.723 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.202e-05/0.007525, allocations: 157.3 kB / 0.7957 GB, free: 2.562 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-05/0.007577, allocations: 268.2 kB / 0.796 GB, free: 2.293 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.798e-05/0.007635, allocations: 272.1 kB / 0.7962 GB, free: 2.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.789e-05/0.007693, allocations: 276.5 kB / 0.7965 GB, free: 1.742 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.007856, allocations: 487.9 kB / 0.797 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.688e-05/0.007893, allocations: 162.2 kB / 0.7971 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.331e-05/0.007926, allocations: 144.9 kB / 0.7973 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.017e-05/0.007986, allocations: 264.1 kB / 0.7975 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.55e-05/0.008052, allocations: 273.2 kB / 0.7978 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.179e-05/0.008114, allocations: 268.1 kB / 0.798 GB, free: 104 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.319e-05/0.008187, allocations: 272 kB / 0.7983 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.008324, allocations: 453 kB / 0.7987 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.682e-05/0.008361, allocations: 144.9 kB / 0.7988 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.912e-05/0.00843, allocations: 272.1 kB / 0.7991 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.381e-05/0.008484, allocations: 149.6 kB / 0.7993 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/0.008548, allocations: 268 kB / 0.7995 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/0.008584, allocations: 158.1 kB / 0.7997 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.101e-05/0.008625, allocations: 127.2 kB / 0.7998 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.51e-07/0.008625, allocations: 0 / 0.7998 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002342/0.00886, allocations: 53.14 kB / 0.7998 GB, free: 14.18 MB / 0.7136 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.0005269/0.009387, allocations: 409.5 kB / 0.8002 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.369e-05/0.00948, allocations: 23.67 kB / 0.8002 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.009482, allocations: 0 / 0.8002 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.009483, allocations: 0 / 0.8002 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.009783, allocations: 0.7061 MB / 0.8009 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004642/0.01025, allocations: 234.2 kB / 0.8012 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.899e-05/0.01028, allocations: 51.92 kB / 0.8012 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.507e-05/0.0103, allocations: 5.531 kB / 0.8012 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.789e-05/0.01032, allocations: 12.48 kB / 0.8012 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/0.01032, allocations: 0 / 0.8012 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of Templates: time 0.003374/0.01369, allocations: 1.659 MB / 0.8028 GB, free: 11.12 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.20278519904241]