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.001481/0.001481, allocations: 93.06 kB / 19.65 MB, free: 280 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.001763/0.001763, allocations: 169 kB / 23.02 MB, free: 1.551 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.9869/0.9869, allocations: 177.1 MB / 203.4 MB, free: 5.637 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 1.966/1.966, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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.653e-06/1.653e-06, allocations: 0 / 0.8782 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.966e-05, allocations: 9.922 kB / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002036/0.002066, allocations: 1.322 MB / 0.8795 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001838/0.003904, allocations: 1.596 MB / 0.881 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.353e-05/0.003948, allocations: 3.938 kB / 0.881 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.522e-05/0.003973, allocations: 0 / 0.881 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002714/0.004244, allocations: 8.812 kB / 0.8811 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005976/0.004842, allocations: 219.8 kB / 0.8813 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.213e-05/0.004924, allocations: 23.86 kB / 0.8813 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/0.004971, allocations: 8 kB / 0.8813 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.005138, allocations: 32.56 kB / 0.8813 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.147e-05/0.00521, allocations: 7.984 kB / 0.8813 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.005225, allocations: 1.656 kB / 0.8813 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002968/0.005522, allocations: 151.7 kB / 0.8815 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.005536, allocations: 0 / 0.8815 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.005564, allocations: 11.98 kB / 0.8815 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.005817, allocations: 172.8 kB / 0.8817 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.00582, allocations: 0 / 0.8817 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.853e-06/0.005822, allocations: 0 / 0.8817 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.005828, allocations: 0 / 0.8817 GB, free: 2.805 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.000361/0.006189, allocations: 400.2 kB / 0.882 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.00623, allocations: 8.031 kB / 0.882 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.48e-05/0.006305, allocations: 124.1 kB / 0.8822 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.006441, allocations: 231.8 kB / 0.8824 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.254e-05/0.006503, allocations: 246.7 kB / 0.8826 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.274e-05/0.006566, allocations: 238.8 kB / 0.8828 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.839e-05/0.006634, allocations: 149.5 kB / 0.883 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/0.006668, allocations: 131.1 kB / 0.8831 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.104e-05/0.006729, allocations: 238.4 kB / 0.8833 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.685e-05/0.006796, allocations: 238.4 kB / 0.8836 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.759e-05/0.006854, allocations: 246.4 kB / 0.8838 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002728/0.007126, allocations: 0.5758 MB / 0.8844 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.756e-05/0.007224, allocations: 273.4 kB / 0.8846 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.207e-05/0.007266, allocations: 130.9 kB / 0.8847 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.007295, allocations: 119.2 kB / 0.8849 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/0.007344, allocations: 156.6 kB / 0.885 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.924e-06/0.007346, allocations: 0 / 0.885 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 8.191e-05/0.007428, allocations: 41.53 kB / 0.8851 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.007488, allocations: 170.6 kB / 0.8852 GB, free: 15 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.007602, allocations: 165.9 kB / 0.8854 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.007615, allocations: 25.7 kB / 0.8854 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.397e-05/0.007659, allocations: 130.9 kB / 0.8855 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-06/0.007662, allocations: 0 / 0.8855 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.007696, allocations: 31.36 kB / 0.8856 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.007815, allocations: 492.1 kB / 0.886 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.696e-05/0.007832, allocations: 8 kB / 0.886 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.152e-05/0.007904, allocations: 108.2 kB / 0.8861 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.83e-05/0.007952, allocations: 39 kB / 0.8862 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.007954, allocations: 0 / 0.8862 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001278/0.008082, allocations: 49.62 kB / 0.8862 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.008098, allocations: 4 kB / 0.8862 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.008105, allocations: 4 kB / 0.8862 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.008119, allocations: 3.938 kB / 0.8862 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.285e-05/0.008202, allocations: 4 kB / 0.8862 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.008208, allocations: 0 / 0.8862 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.829e-05/0.008306, allocations: 15.92 kB / 0.8862 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.00832, allocations: 7.938 kB / 0.8863 GB, free: 13.83 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 0.0001089/0.008429, allocations: 279.7 kB / 0.8865 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-05/0.008483, allocations: 149 kB / 0.8867 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.428e-05/0.008537, allocations: 152 kB / 0.8868 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.39e-05/0.008601, allocations: 279.9 kB / 0.8871 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.489e-05/0.008666, allocations: 264.1 kB / 0.8873 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.319e-05/0.008729, allocations: 268 kB / 0.8876 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.008904, allocations: 499.9 kB / 0.8881 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.623e-05/0.008941, allocations: 148.9 kB / 0.8882 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.045e-05/0.008981, allocations: 148.8 kB / 0.8883 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-05/0.009043, allocations: 264.1 kB / 0.8886 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-05/0.009109, allocations: 268 kB / 0.8888 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.387e-05/0.009173, allocations: 276.1 kB / 0.8891 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.395e-05/0.009237, allocations: 276.2 kB / 0.8894 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.009377, allocations: 443.9 kB / 0.8898 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.009419, allocations: 152.8 kB / 0.8899 GB, free: 9.879 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.5e-05/0.009494, allocations: 272.1 kB / 0.8902 GB, free: 9.605 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.66e-05/0.009551, allocations: 152.9 kB / 0.8904 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.009619, allocations: 272 kB / 0.8906 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/0.009653, allocations: 145.2 kB / 0.8907 GB, free: 9.027 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.006e-05/0.009703, allocations: 127.2 kB / 0.8909 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009703, allocations: 0 / 0.8909 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002465/0.00995, allocations: 51.81 kB / 0.8909 GB, free: 8.852 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.000582/0.01053, allocations: 414.5 kB / 0.8913 GB, free: 8.484 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.01064, allocations: 19.61 kB / 0.8913 GB, free: 8.461 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01064, allocations: 0 / 0.8913 GB, free: 8.461 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.01064, allocations: 4 kB / 0.8913 GB, free: 8.457 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.01096, allocations: 0.6985 MB / 0.892 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005456/0.01151, allocations: 245.8 kB / 0.8923 GB, free: 7.484 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.383e-05/0.01154, allocations: 51.36 kB / 0.8923 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.853e-05/0.01157, allocations: 3.984 kB / 0.8923 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.01159, allocations: 12.5 kB / 0.8923 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of SimCode: time 1.082e-06/0.01159, allocations: 0 / 0.8923 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of Templates: time 0.004186/0.01577, allocations: 1.926 MB / 0.8942 GB, free: 5.492 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.3179715340957046]