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.001807/0.001807, allocations: 93.47 kB / 19.44 MB, free: 336 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.001994/0.001994, allocations: 169.6 kB / 22.76 MB, free: 1.664 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 1.58/1.58, allocations: 177.1 MB / 203.1 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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 3.362/3.362, allocations: 429.5 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] 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.232e-06/1.232e-06, allocations: 0.875 kB / 0.8774 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.403e-05, allocations: 3.219 kB / 0.8774 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002406/0.00243, allocations: 1.31 MB / 0.8787 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002517/0.004947, allocations: 1.567 MB / 0.8803 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.014e-05/0.004977, allocations: 0 / 0.8803 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.387e-05/0.004991, allocations: 1.125 kB / 0.8803 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.005186, allocations: 19.91 kB / 0.8803 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005823/0.005768, allocations: 214.9 kB / 0.8805 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.998e-05/0.005848, allocations: 19.94 kB / 0.8805 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.409e-05/0.005882, allocations: 4.703 kB / 0.8805 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.006023, allocations: 28.53 kB / 0.8805 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.753e-05/0.00609, allocations: 4 kB / 0.8805 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.006109, allocations: 5.094 kB / 0.8805 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003054/0.006414, allocations: 155.7 kB / 0.8807 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.006431, allocations: 7.984 kB / 0.8807 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.208e-05/0.006453, allocations: 8.594 kB / 0.8807 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.006802, allocations: 168.9 kB / 0.8809 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.006804, allocations: 0 / 0.8809 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.122e-06/0.006805, allocations: 0 / 0.8809 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.00681, allocations: 0 / 0.8809 GB, free: 3.164 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.0005183/0.007328, allocations: 399.8 kB / 0.8812 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.007365, allocations: 12.03 kB / 0.8813 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.007469, allocations: 120.1 kB / 0.8814 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.007678, allocations: 243.8 kB / 0.8816 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.007824, allocations: 238.8 kB / 0.8818 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.007958, allocations: 242.8 kB / 0.8821 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.008065, allocations: 149.4 kB / 0.8822 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.72e-05/0.008132, allocations: 123.1 kB / 0.8823 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/0.008265, allocations: 242.4 kB / 0.8826 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001244/0.00839, allocations: 242.4 kB / 0.8828 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.00852, allocations: 242.4 kB / 0.883 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006466/0.009167, allocations: 0.5767 MB / 0.8836 GB, free: 284 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.009347, allocations: 265.4 kB / 0.8838 GB, free: 4 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.669e-05/0.009443, allocations: 131.4 kB / 0.884 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.619e-05/0.009509, allocations: 120.4 kB / 0.8841 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.407e-05/0.009604, allocations: 156.6 kB / 0.8842 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.009604, allocations: 0 / 0.8842 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 0.000101/0.009705, allocations: 33.08 kB / 0.8843 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.009817, allocations: 178.6 kB / 0.8844 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.009977, allocations: 165.9 kB / 0.8846 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.009999, allocations: 25.7 kB / 0.8846 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.158e-05/0.01008, allocations: 134.8 kB / 0.8847 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.01008, allocations: 0 / 0.8847 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.01013, allocations: 31.3 kB / 0.8848 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002632/0.0104, allocations: 496.1 kB / 0.8852 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.229e-05/0.01041, allocations: 0 / 0.8852 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.01052, allocations: 116.2 kB / 0.8853 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.79e-05/0.01058, allocations: 36.59 kB / 0.8854 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01058, allocations: 5.312 kB / 0.8854 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001538/0.01074, allocations: 45.62 kB / 0.8854 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.01075, allocations: 9.312 kB / 0.8854 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.01076, allocations: 0 / 0.8854 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.01077, allocations: 3.938 kB / 0.8854 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.047e-05/0.01083, allocations: 4 kB / 0.8854 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.01084, allocations: 4.094 kB / 0.8855 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.01095, allocations: 11.98 kB / 0.8855 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.01096, allocations: 4 kB / 0.8855 GB, free: 14.2 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.0001824/0.01114, allocations: 279.7 kB / 0.8857 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.01125, allocations: 148.8 kB / 0.8859 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.01136, allocations: 160 kB / 0.886 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001419/0.0115, allocations: 268 kB / 0.8863 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001652/0.01166, allocations: 268 kB / 0.8865 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001615/0.01182, allocations: 268.1 kB / 0.8868 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003643/0.01219, allocations: 499.8 kB / 0.8873 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.013e-05/0.01227, allocations: 152.9 kB / 0.8874 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.682e-05/0.01236, allocations: 145.1 kB / 0.8876 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001564/0.01251, allocations: 268 kB / 0.8878 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001601/0.01267, allocations: 276.1 kB / 0.8881 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001495/0.01282, allocations: 272.1 kB / 0.8883 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001446/0.01297, allocations: 272 kB / 0.8886 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.01324, allocations: 447.9 kB / 0.889 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.515e-05/0.01333, allocations: 148.9 kB / 0.8892 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.01348, allocations: 272 kB / 0.8894 GB, free: 9.973 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.01361, allocations: 148.9 kB / 0.8896 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.01376, allocations: 276 kB / 0.8898 GB, free: 9.543 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.187e-05/0.01384, allocations: 149.2 kB / 0.89 GB, free: 9.391 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.093e-05/0.01392, allocations: 127.2 kB / 0.8901 GB, free: 9.266 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01392, allocations: 0 / 0.8901 GB, free: 9.266 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003388/0.01426, allocations: 51.8 kB / 0.8901 GB, free: 9.215 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.0009285/0.01519, allocations: 416 kB / 0.8905 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.248e-05/0.01528, allocations: 19.62 kB / 0.8906 GB, free: 8.824 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01528, allocations: 0 / 0.8906 GB, free: 8.824 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.01529, allocations: 4.188 kB / 0.8906 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007909/0.01608, allocations: 0.7062 MB / 0.8912 GB, free: 8.109 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003122/0.01639, allocations: 213.7 kB / 0.8915 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.561e-05/0.01646, allocations: 59.22 kB / 0.8915 GB, free: 7.793 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.296e-05/0.0165, allocations: 11.97 kB / 0.8915 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.01652, allocations: 8.5 kB / 0.8915 GB, free: 7.773 MB / 0.8542 GB Notification: Performance of SimCode: time 4.31e-07/0.01652, allocations: 0 / 0.8915 GB, free: 7.773 MB / 0.8542 GB Notification: Performance of Templates: time 0.00508/0.0216, allocations: 1.66 MB / 0.8932 GB, free: 6.141 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.48713863804005]