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.0009533/0.0009533, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.001043/0.001043, allocations: 169 kB / 24.06 MB, free: 448 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.9753/0.9753, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.103/2.103, allocations: 429.5 MB / 0.6743 GB, free: 3.926 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.503e-06/1.503e-06, allocations: 0 / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.64e-05, allocations: 4.984 kB / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001503/0.001519, allocations: 1.332 MB / 0.8807 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.003036, allocations: 1.589 MB / 0.8823 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.441e-05/0.00307, allocations: 0 / 0.8823 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.714e-05/0.003087, allocations: 0 / 0.8823 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.003283, allocations: 19.91 kB / 0.8823 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.003661, allocations: 215.4 kB / 0.8825 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.553e-05/0.003716, allocations: 19.94 kB / 0.8825 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.896e-05/0.003755, allocations: 7.984 kB / 0.8825 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.003866, allocations: 32.81 kB / 0.8825 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.407e-05/0.00392, allocations: 4 kB / 0.8825 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.003931, allocations: 0.7188 kB / 0.8825 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.004121, allocations: 151.7 kB / 0.8827 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.004135, allocations: 13.58 kB / 0.8827 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.382e-05/0.004149, allocations: 4 kB / 0.8827 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.004339, allocations: 171.5 kB / 0.8829 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.004341, allocations: 0 / 0.8829 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.91e-07/0.004342, allocations: 0.5 kB / 0.8829 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.004347, allocations: 0 / 0.8829 GB, free: 2.477 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.0002848/0.004631, allocations: 398.1 kB / 0.8832 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.004662, allocations: 8.031 kB / 0.8833 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.718e-05/0.004719, allocations: 120.1 kB / 0.8834 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.004823, allocations: 239.8 kB / 0.8836 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.196e-05/0.004875, allocations: 242.8 kB / 0.8838 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-05/0.004938, allocations: 243.9 kB / 0.8841 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.494e-05/0.004993, allocations: 149.5 kB / 0.8842 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.005021, allocations: 123.1 kB / 0.8843 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.129e-05/0.005072, allocations: 240 kB / 0.8846 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.192e-05/0.005124, allocations: 242.3 kB / 0.8848 GB, free: 456 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.391e-05/0.005178, allocations: 242.4 kB / 0.885 GB, free: 212 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.005391, allocations: 0.5569 MB / 0.8856 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.171e-05/0.005462, allocations: 267.9 kB / 0.8858 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.001e-05/0.005492, allocations: 126.9 kB / 0.8859 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.005518, allocations: 127.2 kB / 0.8861 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.005556, allocations: 160.5 kB / 0.8862 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 6.62e-07/0.005557, allocations: 0 / 0.8862 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 4.776e-05/0.005605, allocations: 33.66 kB / 0.8862 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.005657, allocations: 176.6 kB / 0.8864 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.716e-05/0.005734, allocations: 161.9 kB / 0.8866 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.005744, allocations: 29.7 kB / 0.8866 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/0.005783, allocations: 130.9 kB / 0.8867 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.302e-06/0.005785, allocations: 0 / 0.8867 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.005812, allocations: 31.36 kB / 0.8867 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.005914, allocations: 496.1 kB / 0.8872 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.951e-06/0.00592, allocations: 0 / 0.8872 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.045e-05/0.005971, allocations: 116.1 kB / 0.8873 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.314e-05/0.006004, allocations: 35.05 kB / 0.8874 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.006005, allocations: 0 / 0.8874 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.004e-05/0.006085, allocations: 45.62 kB / 0.8874 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.006096, allocations: 8.094 kB / 0.8874 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.006099, allocations: 4 kB / 0.8874 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/0.006107, allocations: 0 / 0.8874 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.489e-05/0.006152, allocations: 11.88 kB / 0.8874 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.075e-06/0.006155, allocations: 4 kB / 0.8874 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.838e-05/0.006224, allocations: 8.062 kB / 0.8874 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.006231, allocations: 8 kB / 0.8874 GB, free: 13.54 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 8.103e-05/0.006312, allocations: 275.8 kB / 0.8877 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-05/0.006356, allocations: 148.9 kB / 0.8879 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.981e-05/0.006396, allocations: 156 kB / 0.888 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.218e-05/0.006448, allocations: 268.1 kB / 0.8883 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-05/0.006505, allocations: 276 kB / 0.8885 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-05/0.006577, allocations: 272.1 kB / 0.8888 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.006757, allocations: 472.5 kB / 0.8892 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-05/0.006793, allocations: 156.8 kB / 0.8894 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.099e-05/0.006824, allocations: 144.9 kB / 0.8895 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.215e-05/0.006887, allocations: 268 kB / 0.8898 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.304e-05/0.00695, allocations: 268.3 kB / 0.89 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001292/0.007079, allocations: 268.1 kB / 0.8903 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-05/0.007141, allocations: 276 kB / 0.8906 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.007257, allocations: 459.8 kB / 0.891 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.007293, allocations: 152.8 kB / 0.8911 GB, free: 9.605 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.975e-05/0.007352, allocations: 264.1 kB / 0.8914 GB, free: 9.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.594e-05/0.007408, allocations: 156.8 kB / 0.8915 GB, free: 9.18 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.007463, allocations: 264.1 kB / 0.8918 GB, free: 8.914 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.007496, allocations: 153.1 kB / 0.8919 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001756/0.007672, allocations: 127.1 kB / 0.8921 GB, free: 8.633 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.007672, allocations: 0 / 0.8921 GB, free: 8.633 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001977/0.007869, allocations: 51.8 kB / 0.8921 GB, free: 8.582 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.0004124/0.008282, allocations: 415.9 kB / 0.8925 GB, free: 8.215 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.036e-05/0.008342, allocations: 15.67 kB / 0.8925 GB, free: 8.195 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.008344, allocations: 0 / 0.8925 GB, free: 8.195 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/0.008346, allocations: 7.938 kB / 0.8925 GB, free: 8.188 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.008605, allocations: 0.7023 MB / 0.8932 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.008937, allocations: 233.6 kB / 0.8934 GB, free: 7.223 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.403e-05/0.008961, allocations: 51.36 kB / 0.8935 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.971e-05/0.008981, allocations: 4.188 kB / 0.8935 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.009018, allocations: 78.19 kB / 0.8936 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/0.009018, allocations: 0 / 0.8936 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of Templates: time 0.003153/0.01217, allocations: 1.938 MB / 0.8955 GB, free: 5.156 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.316757377702743]