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.0009271/0.0009271, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009445/0.0009445, allocations: 161 kB / 24.17 MB, free: 332 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.9744/0.9744, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.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.834/1.834, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 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.212e-06/1.212e-06, allocations: 0 / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197e-05/1.318e-05, allocations: 5.547 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001753/0.001766, allocations: 1.321 MB / 0.7613 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001473/0.003239, allocations: 1.61 MB / 0.7629 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.14e-05/0.00327, allocations: 0 / 0.7629 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/0.003284, allocations: 2.422 kB / 0.7629 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.003479, allocations: 12.59 kB / 0.7629 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.003898, allocations: 221.6 kB / 0.7631 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.948e-05/0.003967, allocations: 21.94 kB / 0.7631 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.123e-05/0.003998, allocations: 5.25 kB / 0.7631 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.004111, allocations: 33.25 kB / 0.7632 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.957e-05/0.004161, allocations: 5.188 kB / 0.7632 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.004171, allocations: 5.781 kB / 0.7632 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.004378, allocations: 149.1 kB / 0.7633 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.004389, allocations: 4.656 kB / 0.7633 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.559e-05/0.004404, allocations: 12.86 kB / 0.7633 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.004583, allocations: 167.4 kB / 0.7635 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.004585, allocations: 0 / 0.7635 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.21e-07/0.004585, allocations: 0.5469 kB / 0.7635 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.394e-06/0.004588, allocations: 2.062 kB / 0.7635 GB, free: 3.09 MB / 0.7136 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.0002188/0.004807, allocations: 268.2 kB / 0.7638 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.798e-05/0.004835, allocations: 12.03 kB / 0.7638 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.00487, allocations: 76.22 kB / 0.7639 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.637e-05/0.004956, allocations: 189 kB / 0.764 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/0.00499, allocations: 151.7 kB / 0.7642 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.005028, allocations: 158.9 kB / 0.7643 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.273e-05/0.005071, allocations: 102.3 kB / 0.7644 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.00509, allocations: 79.22 kB / 0.7645 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.005118, allocations: 155.1 kB / 0.7646 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/0.00515, allocations: 150.6 kB / 0.7648 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.035e-05/0.00518, allocations: 156.7 kB / 0.7649 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.005324, allocations: 357.6 kB / 0.7653 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.731e-05/0.005381, allocations: 177.1 kB / 0.7655 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.0054, allocations: 80.14 kB / 0.7655 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.005417, allocations: 75.28 kB / 0.7656 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.005446, allocations: 115.3 kB / 0.7657 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.005447, allocations: 4 kB / 0.7657 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.26e-05/0.00549, allocations: 29.69 kB / 0.7657 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.005532, allocations: 130.6 kB / 0.7659 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.401e-05/0.005596, allocations: 111.9 kB / 0.766 GB, free: 452 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.005606, allocations: 25.7 kB / 0.766 GB, free: 420 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.795e-05/0.005634, allocations: 92.12 kB / 0.7661 GB, free: 324 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.072e-06/0.005635, allocations: 3.938 kB / 0.7661 GB, free: 320 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.005657, allocations: 14.66 kB / 0.7661 GB, free: 300 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.364e-05/0.00573, allocations: 314.9 kB / 0.7664 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.799e-06/0.00574, allocations: 10.44 kB / 0.7664 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.239e-05/0.005783, allocations: 95.69 kB / 0.7665 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.056e-05/0.005813, allocations: 38.48 kB / 0.7665 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.005815, allocations: 0 / 0.7665 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.896e-05/0.005874, allocations: 44.38 kB / 0.7666 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.005884, allocations: 8 kB / 0.7666 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.005887, allocations: 0 / 0.7666 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.005898, allocations: 0 / 0.7666 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.248e-05/0.005941, allocations: 4 kB / 0.7666 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.005945, allocations: 11.88 kB / 0.7666 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.69e-05/0.006012, allocations: 9.141 kB / 0.7666 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/0.00602, allocations: 4 kB / 0.7666 GB, free: 15.72 MB / 0.7292 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 6.551e-05/0.006085, allocations: 189.1 kB / 0.7668 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.006117, allocations: 101.9 kB / 0.7669 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.576e-05/0.006153, allocations: 108.1 kB / 0.767 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.816e-05/0.006191, allocations: 185.2 kB / 0.7672 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.235e-05/0.006243, allocations: 180.2 kB / 0.7673 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003331/0.006577, allocations: 180.2 kB / 0.7675 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.006689, allocations: 314 kB / 0.7678 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.668e-05/0.006716, allocations: 120.3 kB / 0.7679 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.976e-05/0.006736, allocations: 101.1 kB / 0.768 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.431e-05/0.00677, allocations: 176.3 kB / 0.7682 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/0.006808, allocations: 188.2 kB / 0.7684 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.458e-05/0.006843, allocations: 176.3 kB / 0.7685 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.539e-05/0.006878, allocations: 180.2 kB / 0.7687 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.035e-05/0.006958, allocations: 319.7 kB / 0.769 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.006985, allocations: 101 kB / 0.7691 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.007026, allocations: 180.3 kB / 0.7693 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.214e-05/0.007068, allocations: 115.8 kB / 0.7694 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.007105, allocations: 176.6 kB / 0.7696 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.007127, allocations: 108.9 kB / 0.7697 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.232e-05/0.00714, allocations: 8.859 kB / 0.7697 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00714, allocations: 4 kB / 0.7697 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000217/0.007357, allocations: 59.67 kB / 0.7697 GB, free: 12.35 MB / 0.7292 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.0004797/0.007836, allocations: 367.1 kB / 0.7701 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.701e-05/0.007883, allocations: 12.86 kB / 0.7701 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.007887, allocations: 4 kB / 0.7701 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.32e-07/0.007888, allocations: 0 / 0.7701 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.00805, allocations: 462.6 kB / 0.7706 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.008372, allocations: 192 kB / 0.7707 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.327e-05/0.008395, allocations: 51.36 kB / 0.7708 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.955e-05/0.008415, allocations: 7.938 kB / 0.7708 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.008445, allocations: 51.38 kB / 0.7708 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/0.008445, allocations: 3.469 kB / 0.7708 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of Templates: time 0.002797/0.01124, allocations: 1.925 MB / 0.7727 GB, free: 9.445 MB / 0.7292 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: 4.9900089097209275]