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.0008368/0.0008368, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.0009038/0.0009038, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9709/0.9709, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.771/1.771, allocations: 359 MB / 0.6052 GB, free: 11.03 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.984e-06/1.984e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.181e-05/3.379e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.003086/0.00312, allocations: 1.315 MB / 0.7884 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002532/0.005652, allocations: 1.589 MB / 0.79 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.633e-05/0.005698, allocations: 0 / 0.79 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.005726, allocations: 0.5 kB / 0.79 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002749/0.006001, allocations: 7.984 kB / 0.79 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007068/0.006708, allocations: 223.3 kB / 0.7902 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.409e-05/0.006792, allocations: 19.92 kB / 0.7902 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/0.006839, allocations: 7.5 kB / 0.7902 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.00703, allocations: 35.78 kB / 0.7902 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.053e-05/0.00711, allocations: 8 kB / 0.7902 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.007127, allocations: 0 / 0.7902 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003357/0.007463, allocations: 147.8 kB / 0.7904 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.007479, allocations: 3.938 kB / 0.7904 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.007509, allocations: 15.97 kB / 0.7904 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003351/0.007844, allocations: 167.5 kB / 0.7906 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.007848, allocations: 0 / 0.7906 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.643e-06/0.00785, allocations: 0.5 kB / 0.7906 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.007855, allocations: 0.625 kB / 0.7906 GB, free: 8.973 MB / 0.7448 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.0004013/0.008256, allocations: 389.6 kB / 0.7909 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.008301, allocations: 8.031 kB / 0.7909 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.293e-05/0.008384, allocations: 136.4 kB / 0.7911 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.008544, allocations: 235.8 kB / 0.7913 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.609e-05/0.00862, allocations: 242.8 kB / 0.7915 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-05/0.008697, allocations: 240.1 kB / 0.7918 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.484e-05/0.008771, allocations: 149.5 kB / 0.7919 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.95e-05/0.008811, allocations: 123.1 kB / 0.792 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.12e-05/0.008882, allocations: 242.4 kB / 0.7923 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.982e-05/0.008952, allocations: 240 kB / 0.7925 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.052e-05/0.009022, allocations: 242.4 kB / 0.7927 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.009337, allocations: 0.5758 MB / 0.7933 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.988e-05/0.009437, allocations: 265.4 kB / 0.7935 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.709e-05/0.009484, allocations: 131.6 kB / 0.7937 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.009519, allocations: 123.1 kB / 0.7938 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.827e-05/0.009577, allocations: 158.4 kB / 0.7939 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 2.374e-06/0.009579, allocations: 3.984 kB / 0.7939 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.585e-05/0.009665, allocations: 41.56 kB / 0.794 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.009728, allocations: 170.6 kB / 0.7941 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.009853, allocations: 162.6 kB / 0.7943 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.009868, allocations: 25.7 kB / 0.7943 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.009923, allocations: 131.5 kB / 0.7944 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-06/0.009926, allocations: 0 / 0.7944 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.009971, allocations: 28.59 kB / 0.7945 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.01012, allocations: 492.1 kB / 0.7949 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.01014, allocations: 7.984 kB / 0.7949 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.002e-05/0.01022, allocations: 108.7 kB / 0.795 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.17e-05/0.01027, allocations: 36.19 kB / 0.7951 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01027, allocations: 1 kB / 0.7951 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001558/0.01043, allocations: 54.61 kB / 0.7951 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.01044, allocations: 4 kB / 0.7951 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.01045, allocations: 4 kB / 0.7951 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.01047, allocations: 4.812 kB / 0.7951 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.373e-05/0.01054, allocations: 7.984 kB / 0.7952 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.01055, allocations: 1.062 kB / 0.7952 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.01066, allocations: 11.94 kB / 0.7952 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.01067, allocations: 4 kB / 0.7952 GB, free: 4.02 MB / 0.7448 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.0001153/0.01078, allocations: 284.4 kB / 0.7954 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-05/0.01085, allocations: 146 kB / 0.7956 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.673e-05/0.01092, allocations: 152 kB / 0.7957 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.563e-05/0.01099, allocations: 276 kB / 0.796 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-05/0.01107, allocations: 265.2 kB / 0.7962 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.341e-05/0.01114, allocations: 272 kB / 0.7965 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.01137, allocations: 495.9 kB / 0.797 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.315e-05/0.01141, allocations: 149.7 kB / 0.7971 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-05/0.01145, allocations: 149.1 kB / 0.7973 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.617e-05/0.01153, allocations: 270.3 kB / 0.7975 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.733e-05/0.0116, allocations: 276 kB / 0.7978 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.623e-05/0.01168, allocations: 268.1 kB / 0.798 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.771e-05/0.01176, allocations: 268 kB / 0.7983 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.01192, allocations: 455.9 kB / 0.7987 GB, free: 224 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.01197, allocations: 148.8 kB / 0.7989 GB, free: 68 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.842e-05/0.01207, allocations: 266.9 kB / 0.7991 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.403e-05/0.01215, allocations: 148.9 kB / 0.7993 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.01223, allocations: 279.9 kB / 0.7995 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-05/0.01228, allocations: 145.2 kB / 0.7997 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 5.549e-05/0.01233, allocations: 123.2 kB / 0.7998 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1e-07/0.01233, allocations: 0 / 0.7998 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003679/0.0127, allocations: 55.8 kB / 0.7998 GB, free: 15.04 MB / 0.7605 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.0007297/0.01343, allocations: 410.9 kB / 0.8002 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001062/0.01354, allocations: 20.28 kB / 0.8002 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.01354, allocations: 1.188 kB / 0.8002 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/0.01354, allocations: 0 / 0.8002 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.01397, allocations: 0.7062 MB / 0.8009 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000646/0.01462, allocations: 247.9 kB / 0.8012 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.246e-05/0.01465, allocations: 51.36 kB / 0.8012 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 2.908e-05/0.01468, allocations: 4 kB / 0.8012 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.22e-05/0.0147, allocations: 8.5 kB / 0.8012 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of SimCode: time 1.032e-06/0.0147, allocations: 0 / 0.8012 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of Templates: time 0.003313/0.01802, allocations: 1.662 MB / 0.8029 GB, free: 11.97 MB / 0.7605 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: 4.992198175750673]