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.000858/0.000858, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001217/0.002075, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007354/0.0007354, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009105/0.001646, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9961/0.9961, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1042/1.1, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.939/1.939, allocations: 378.2 MB / 0.6076 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5396/2.479, allocations: 123.3 MB / 0.728 GB, free: 5.797 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.953e-06/1.953e-06, allocations: 0 / 0.7293 GB, free: 4.5 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.569e-05, allocations: 3.844 kB / 0.7293 GB, free: 4.496 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001865/0.00189, allocations: 1.364 MB / 0.7307 GB, free: 3.145 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001708/0.003598, allocations: 1.624 MB / 0.7323 GB, free: 1.523 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.268e-05/0.003631, allocations: 0.625 kB / 0.7323 GB, free: 1.523 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.338e-06/0.00364, allocations: 0 / 0.7323 GB, free: 1.523 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.003741, allocations: 23.67 kB / 0.7323 GB, free: 1.504 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004615/0.004202, allocations: 195.5 kB / 0.7325 GB, free: 1.316 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.901e-05/0.004281, allocations: 31.75 kB / 0.7325 GB, free: 1.293 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.363e-05/0.004325, allocations: 4 kB / 0.7325 GB, free: 1.289 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.004466, allocations: 33.61 kB / 0.7325 GB, free: 1.258 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.532e-05/0.004532, allocations: 13.5 kB / 0.7325 GB, free: 1.246 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.004544, allocations: 4 kB / 0.7326 GB, free: 1.242 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002633/0.004807, allocations: 157.6 kB / 0.7327 GB, free: 1.09 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.004819, allocations: 1.562 kB / 0.7327 GB, free: 1.09 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.619e-05/0.004835, allocations: 10.7 kB / 0.7327 GB, free: 1.082 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.00504, allocations: 139 kB / 0.7328 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-05/0.00506, allocations: 3.984 kB / 0.7329 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.012e-06/0.005061, allocations: 0 / 0.7329 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.797e-05/0.005079, allocations: 0 / 0.7329 GB, free: 0.9453 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.0003359/0.005415, allocations: 285 kB / 0.7331 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.00545, allocations: 8.031 kB / 0.7331 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.005496, allocations: 80.7 kB / 0.7332 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.005606, allocations: 189.6 kB / 0.7334 GB, free: 356 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.925e-05/0.005645, allocations: 154.9 kB / 0.7335 GB, free: 200 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.068e-05/0.005686, allocations: 156.1 kB / 0.7337 GB, free: 44 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.176e-05/0.005748, allocations: 105.5 kB / 0.7338 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.005769, allocations: 79.22 kB / 0.7339 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/0.005804, allocations: 151.4 kB / 0.734 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.588e-05/0.00584, allocations: 150.6 kB / 0.7341 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.253e-05/0.005883, allocations: 154.6 kB / 0.7343 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.00604, allocations: 361.9 kB / 0.7346 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.471e-05/0.006105, allocations: 173.8 kB / 0.7348 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/0.006126, allocations: 80.14 kB / 0.7349 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.006145, allocations: 77.03 kB / 0.735 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.006183, allocations: 109.8 kB / 0.7351 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.006184, allocations: 0 / 0.7351 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.14e-05/0.006246, allocations: 29.64 kB / 0.7351 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.006297, allocations: 135.2 kB / 0.7352 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.742e-05/0.006385, allocations: 118.6 kB / 0.7353 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.006395, allocations: 26.7 kB / 0.7354 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.115e-05/0.006426, allocations: 92.08 kB / 0.7354 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.432e-06/0.006427, allocations: 0 / 0.7354 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.006459, allocations: 18.23 kB / 0.7355 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.431e-05/0.006533, allocations: 320 kB / 0.7358 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-06/0.006542, allocations: 0 / 0.7358 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-05/0.006595, allocations: 103.7 kB / 0.7359 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.383e-05/0.006629, allocations: 27.77 kB / 0.7359 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.006631, allocations: 0.9375 kB / 0.7359 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.612e-05/0.006708, allocations: 46.5 kB / 0.7359 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.006718, allocations: 4 kB / 0.7359 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.006724, allocations: 1.438 kB / 0.7359 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.467e-06/0.006733, allocations: 0 / 0.7359 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.783e-05/0.006801, allocations: 8 kB / 0.736 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.006807, allocations: 11.91 kB / 0.736 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.145e-05/0.006888, allocations: 4.656 kB / 0.736 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.006895, allocations: 0 / 0.736 GB, free: 13.57 MB / 0.7136 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 7.134e-05/0.006967, allocations: 194.7 kB / 0.7362 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.525e-05/0.007002, allocations: 105 kB / 0.7363 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.755e-05/0.007039, allocations: 108.1 kB / 0.7364 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.899e-05/0.007078, allocations: 180.9 kB / 0.7365 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.51e-05/0.007124, allocations: 184.2 kB / 0.7367 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.061e-05/0.007164, allocations: 189.4 kB / 0.7369 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.007373, allocations: 325.4 kB / 0.7372 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.332e-05/0.007396, allocations: 101 kB / 0.7373 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.459e-05/0.007421, allocations: 105.8 kB / 0.7374 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.863e-05/0.00745, allocations: 105 kB / 0.7375 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.864e-05/0.007488, allocations: 185.4 kB / 0.7377 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.049e-05/0.007529, allocations: 180.3 kB / 0.7378 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.044e-05/0.007569, allocations: 176.3 kB / 0.738 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.764e-05/0.007607, allocations: 180.4 kB / 0.7382 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.542e-05/0.007702, allocations: 320.7 kB / 0.7385 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.738e-05/0.00775, allocations: 176.3 kB / 0.7387 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.581e-05/0.007795, allocations: 105.5 kB / 0.7388 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.007841, allocations: 180.3 kB / 0.7389 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.007866, allocations: 102.7 kB / 0.739 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.109e-05/0.007887, allocations: 17.09 kB / 0.739 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.007887, allocations: 3.938 kB / 0.739 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002167/0.008104, allocations: 59.73 kB / 0.7391 GB, free: 10.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.0005822/0.008686, allocations: 376.2 kB / 0.7395 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.275e-05/0.008759, allocations: 19.19 kB / 0.7395 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.008763, allocations: 0 / 0.7395 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.008764, allocations: 0 / 0.7395 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.008962, allocations: 455.7 kB / 0.7399 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008144/0.009777, allocations: 202.3 kB / 0.7401 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.096e-05/0.009808, allocations: 55.34 kB / 0.7402 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.818e-05/0.009836, allocations: 4 kB / 0.7402 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.197e-05/0.009878, allocations: 51.38 kB / 0.7402 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of SimCode: time 8.61e-07/0.009879, allocations: 0 / 0.7402 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of Templates: time 0.003539/0.01342, allocations: 1.954 MB / 0.7421 GB, free: 7.246 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.ref.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.145292893052101]