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.0009909/0.0009909, allocations: 88.23 kB / 19.64 MB, free: 308 kB / 13.93 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.0009656/0.0009656, allocations: 168.9 kB / 23.02 MB, free: 1.57 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.9683/0.9683, allocations: 177.1 MB / 203.4 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.227/2.227, allocations: 429.5 MB / 0.6732 GB, free: 4.059 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.603e-06/1.603e-06, allocations: 0 / 0.8782 GB, free: 5.168 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.828e-05, allocations: 9.719 kB / 0.8782 GB, free: 5.16 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002156/0.002184, allocations: 1.32 MB / 0.8795 GB, free: 3.844 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00186/0.004044, allocations: 1.59 MB / 0.881 GB, free: 2.254 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.511e-05/0.004089, allocations: 0.75 kB / 0.881 GB, free: 2.254 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.004115, allocations: 0 / 0.881 GB, free: 2.254 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.000252/0.004367, allocations: 13.02 kB / 0.881 GB, free: 2.242 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005444/0.004911, allocations: 222.1 kB / 0.8813 GB, free: 2.027 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.861e-05/0.00498, allocations: 28.94 kB / 0.8813 GB, free: 2 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.76e-05/0.005017, allocations: 8 kB / 0.8813 GB, free: 1.992 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.005159, allocations: 23.92 kB / 0.8813 GB, free: 1.969 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.384e-05/0.005223, allocations: 10.36 kB / 0.8813 GB, free: 1.961 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.005238, allocations: 0 / 0.8813 GB, free: 1.961 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.005504, allocations: 156.8 kB / 0.8815 GB, free: 1.809 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.005515, allocations: 0 / 0.8815 GB, free: 1.809 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.395e-05/0.005539, allocations: 15.92 kB / 0.8815 GB, free: 1.793 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.005793, allocations: 168.5 kB / 0.8816 GB, free: 1.629 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.005797, allocations: 0 / 0.8816 GB, free: 1.629 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.082e-06/0.005798, allocations: 0 / 0.8816 GB, free: 1.629 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.005803, allocations: 0.7188 kB / 0.8816 GB, free: 1.629 MB / 0.7917 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.0003281/0.006131, allocations: 396.2 kB / 0.882 GB, free: 1.207 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.006171, allocations: 8.531 kB / 0.882 GB, free: 1.199 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.409e-05/0.006245, allocations: 129.6 kB / 0.8822 GB, free: 1.074 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.006378, allocations: 231.8 kB / 0.8824 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.973e-05/0.006438, allocations: 242.8 kB / 0.8826 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.601e-05/0.006504, allocations: 242.8 kB / 0.8828 GB, free: 352 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.224e-05/0.006566, allocations: 146 kB / 0.883 GB, free: 200 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/0.006602, allocations: 127.1 kB / 0.8831 GB, free: 72 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.379e-05/0.006676, allocations: 239.8 kB / 0.8833 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.701e-05/0.006743, allocations: 242.3 kB / 0.8836 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.673e-05/0.006809, allocations: 242.4 kB / 0.8838 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000266/0.007075, allocations: 0.572 MB / 0.8844 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.969e-05/0.007165, allocations: 270.6 kB / 0.8846 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.591e-05/0.007201, allocations: 126.9 kB / 0.8847 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.007233, allocations: 123.1 kB / 0.8848 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/0.007281, allocations: 157.9 kB / 0.885 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 2.154e-06/0.007283, allocations: 3.984 kB / 0.885 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 7.158e-05/0.007355, allocations: 33.64 kB / 0.885 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.00741, allocations: 178 kB / 0.8852 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.007518, allocations: 161.9 kB / 0.8854 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.00753, allocations: 29.64 kB / 0.8854 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.007582, allocations: 134.8 kB / 0.8855 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.506e-06/0.007586, allocations: 4 kB / 0.8855 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.007618, allocations: 23.38 kB / 0.8855 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.007737, allocations: 492.1 kB / 0.886 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/0.007753, allocations: 11.98 kB / 0.886 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.008129, allocations: 108.1 kB / 0.8861 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.185e-05/0.008171, allocations: 40.12 kB / 0.8862 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.008174, allocations: 0 / 0.8862 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001213/0.008295, allocations: 45.62 kB / 0.8862 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.008309, allocations: 8 kB / 0.8862 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.008314, allocations: 0 / 0.8862 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.008332, allocations: 3.938 kB / 0.8862 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.978e-05/0.008401, allocations: 11.92 kB / 0.8862 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.008407, allocations: 0 / 0.8862 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.416e-05/0.008491, allocations: 8 kB / 0.8862 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.008499, allocations: 4 kB / 0.8862 GB, free: 12.68 MB / 0.8073 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.32e-05/0.008593, allocations: 283.8 kB / 0.8865 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.008643, allocations: 148.9 kB / 0.8867 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.879e-05/0.008692, allocations: 156 kB / 0.8868 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-05/0.008748, allocations: 272 kB / 0.8871 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.768e-05/0.008816, allocations: 268 kB / 0.8873 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.047e-05/0.008877, allocations: 264.1 kB / 0.8876 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.009051, allocations: 0.4884 MB / 0.888 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.15e-05/0.009092, allocations: 156.8 kB / 0.8882 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-05/0.009128, allocations: 144.9 kB / 0.8883 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.068e-05/0.009189, allocations: 272 kB / 0.8886 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.897e-05/0.009248, allocations: 272.1 kB / 0.8889 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.739e-05/0.009305, allocations: 268.1 kB / 0.8891 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-05/0.009368, allocations: 276 kB / 0.8894 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.009518, allocations: 451.9 kB / 0.8898 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.009563, allocations: 144.9 kB / 0.8899 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.576e-05/0.009639, allocations: 268.1 kB / 0.8902 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.874e-05/0.009698, allocations: 152.8 kB / 0.8903 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.009764, allocations: 272 kB / 0.8906 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.419e-05/0.009798, allocations: 149.1 kB / 0.8907 GB, free: 7.863 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.653e-05/0.009844, allocations: 131.1 kB / 0.8909 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.009844, allocations: 4 kB / 0.8909 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002506/0.01009, allocations: 47.86 kB / 0.8909 GB, free: 7.684 MB / 0.8073 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.0005714/0.01067, allocations: 416.6 kB / 0.8913 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.019e-05/0.01076, allocations: 15.69 kB / 0.8913 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.01076, allocations: 0 / 0.8913 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.01076, allocations: 3.938 kB / 0.8913 GB, free: 7.289 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.01104, allocations: 0.7023 MB / 0.892 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005413/0.01159, allocations: 241.7 kB / 0.8923 GB, free: 6.316 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.137e-05/0.01162, allocations: 51.36 kB / 0.8923 GB, free: 6.246 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.594e-05/0.01164, allocations: 4 kB / 0.8923 GB, free: 6.242 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.697e-05/0.01166, allocations: 8.5 kB / 0.8923 GB, free: 6.234 MB / 0.8073 GB Notification: Performance of SimCode: time 9.42e-07/0.01166, allocations: 0 / 0.8923 GB, free: 6.234 MB / 0.8073 GB Notification: Performance of Templates: time 0.003576/0.01524, allocations: 1.661 MB / 0.8939 GB, free: 4.594 MB / 0.8073 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.5965760583058]