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.0009751/0.0009751, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009783/0.0009783, allocations: 173 kB / 23.5 MB, free: 1.055 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.9307/0.9307, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.11/2.11, allocations: 429.5 MB / 0.6736 GB, free: 4.094 MB / 0.6355 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 1.693e-06/1.693e-06, allocations: 0 / 0.8782 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.442e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001908/0.001933, allocations: 1.324 MB / 0.8795 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002036/0.003968, allocations: 1.591 MB / 0.881 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.729e-05/0.004006, allocations: 4 kB / 0.881 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.183e-05/0.004027, allocations: 3.984 kB / 0.8811 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.004258, allocations: 15.92 kB / 0.8811 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.004695, allocations: 211.8 kB / 0.8813 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.257e-05/0.004777, allocations: 23.92 kB / 0.8813 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.00482, allocations: 0 / 0.8813 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.004973, allocations: 32.56 kB / 0.8813 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.219e-05/0.005035, allocations: 4 kB / 0.8813 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.00505, allocations: 5.656 kB / 0.8813 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.005254, allocations: 147.7 kB / 0.8815 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.005272, allocations: 15.97 kB / 0.8815 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.104e-05/0.005293, allocations: 7.938 kB / 0.8815 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.005524, allocations: 164.9 kB / 0.8817 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.005527, allocations: 0 / 0.8817 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.142e-06/0.005528, allocations: 0 / 0.8817 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.005534, allocations: 0 / 0.8817 GB, free: 3.152 MB / 0.8386 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.0003342/0.005868, allocations: 404.2 kB / 0.882 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.005906, allocations: 8.031 kB / 0.882 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.109e-05/0.005967, allocations: 124.1 kB / 0.8822 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.00609, allocations: 235.8 kB / 0.8824 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.517e-05/0.006145, allocations: 238.8 kB / 0.8826 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.266e-05/0.006208, allocations: 246.8 kB / 0.8829 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.118e-05/0.006269, allocations: 149.4 kB / 0.883 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/0.0063, allocations: 123.1 kB / 0.8831 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.106e-05/0.006361, allocations: 246.4 kB / 0.8833 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.02e-05/0.006421, allocations: 238.4 kB / 0.8836 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.016e-05/0.006481, allocations: 246.3 kB / 0.8838 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002441/0.006725, allocations: 0.572 MB / 0.8844 GB, free: 268 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.603e-05/0.006821, allocations: 273.4 kB / 0.8846 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.376e-05/0.006855, allocations: 126.9 kB / 0.8847 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.006882, allocations: 119.2 kB / 0.8849 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.006926, allocations: 160.6 kB / 0.885 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.006927, allocations: 0 / 0.885 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 6.468e-05/0.006992, allocations: 33.58 kB / 0.885 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.007049, allocations: 174.6 kB / 0.8852 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.546e-05/0.007145, allocations: 165.9 kB / 0.8854 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.007156, allocations: 29.64 kB / 0.8854 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.0072, allocations: 138.9 kB / 0.8855 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-06/0.007203, allocations: 0 / 0.8855 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.007234, allocations: 19.38 kB / 0.8856 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.007361, allocations: 0.4923 MB / 0.886 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.185e-05/0.007372, allocations: 0 / 0.886 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.556e-05/0.007438, allocations: 108.2 kB / 0.8861 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.994e-05/0.007478, allocations: 38.98 kB / 0.8862 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.00748, allocations: 0 / 0.8862 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001136/0.007593, allocations: 53.64 kB / 0.8862 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.007606, allocations: 4 kB / 0.8862 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.007611, allocations: 3.984 kB / 0.8862 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.007624, allocations: 3.938 kB / 0.8862 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.733e-05/0.007692, allocations: 8 kB / 0.8862 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.007697, allocations: 0 / 0.8862 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.064e-05/0.007778, allocations: 4 kB / 0.8862 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.007787, allocations: 7.922 kB / 0.8863 GB, free: 14.18 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 9.574e-05/0.007883, allocations: 279.8 kB / 0.8865 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.007936, allocations: 152.9 kB / 0.8867 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.927e-05/0.007985, allocations: 152 kB / 0.8868 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-05/0.00805, allocations: 272 kB / 0.8871 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.549e-05/0.008116, allocations: 268.1 kB / 0.8873 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.288e-05/0.008189, allocations: 272 kB / 0.8876 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.008369, allocations: 495.9 kB / 0.8881 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.238e-05/0.008441, allocations: 148.8 kB / 0.8882 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.008476, allocations: 148.9 kB / 0.8883 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-05/0.008536, allocations: 268.1 kB / 0.8886 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.698e-05/0.008603, allocations: 268 kB / 0.8889 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001448/0.008748, allocations: 276.4 kB / 0.8891 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.026e-05/0.008808, allocations: 276 kB / 0.8894 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.008934, allocations: 444 kB / 0.8898 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.791e-05/0.008972, allocations: 152.8 kB / 0.89 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.3e-05/0.009035, allocations: 272.1 kB / 0.8902 GB, free: 9.949 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.479e-05/0.00909, allocations: 152.8 kB / 0.8904 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.009153, allocations: 272 kB / 0.8906 GB, free: 9.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/0.009189, allocations: 145.2 kB / 0.8908 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001828/0.009371, allocations: 127.1 kB / 0.8909 GB, free: 9.246 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.009372, allocations: 0 / 0.8909 GB, free: 9.246 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001986/0.00957, allocations: 51.8 kB / 0.8909 GB, free: 9.195 MB / 0.8542 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.0004855/0.01006, allocations: 420.1 kB / 0.8913 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.729e-05/0.01013, allocations: 19.67 kB / 0.8913 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.01013, allocations: 0 / 0.8913 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.01014, allocations: 0 / 0.8913 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.01042, allocations: 0.71 MB / 0.892 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004616/0.01088, allocations: 229.8 kB / 0.8923 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.086e-05/0.01091, allocations: 51.36 kB / 0.8923 GB, free: 7.758 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.23e-05/0.01093, allocations: 4 kB / 0.8923 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.329e-05/0.01095, allocations: 8.5 kB / 0.8923 GB, free: 7.746 MB / 0.8542 GB Notification: Performance of SimCode: time 7.42e-07/0.01095, allocations: 0 / 0.8923 GB, free: 7.746 MB / 0.8542 GB Notification: Performance of Templates: time 0.003063/0.01401, allocations: 1.675 MB / 0.894 GB, free: 6.102 MB / 0.8542 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.4463625201024115]