Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.002019/0.002019, allocations: 80.77 kB / 19.18 MB, free: 2.516 MB / 14.72 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.0023/0.0023, allocations: 165 kB / 22.46 MB, free: 5.375 MB / 14.72 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.482/1.482, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.922/2.922, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.806e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.00235/0.002378, allocations: 1.262 MB / 0.9827 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.003536, allocations: 0.8142 MB / 0.9835 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.468e-05/0.00356, allocations: 0 / 0.9835 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.311e-05/0.003593, allocations: 0 / 0.9835 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000233/0.003826, allocations: 19.86 kB / 0.9835 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.153e-05/0.003898, allocations: 7.984 kB / 0.9835 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.59e-05/0.003954, allocations: 11.98 kB / 0.9835 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.003992, allocations: 0 / 0.9835 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.409e-05/0.004037, allocations: 11.94 kB / 0.9835 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.168e-05/0.004128, allocations: 0 / 0.9835 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.004142, allocations: 7.938 kB / 0.9835 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.042e-05/0.004182, allocations: 11.92 kB / 0.9835 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.187e-05/0.004224, allocations: 3.984 kB / 0.9835 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.835e-05/0.004242, allocations: 0 / 0.9835 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.837e-05/0.004321, allocations: 8 kB / 0.9835 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.004323, allocations: 0 / 0.9835 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.41e-07/0.004324, allocations: 3.938 kB / 0.9836 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.004328, allocations: 4 kB / 0.9836 GB, free: 9.789 MB / 0.9356 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.0003254/0.004653, allocations: 246.4 kB / 0.9838 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.00469, allocations: 12.03 kB / 0.9838 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.94e-05/0.004759, allocations: 76.22 kB / 0.9839 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.004977, allocations: 181.1 kB / 0.984 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.005114, allocations: 150.9 kB / 0.9842 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.509e-05/0.005189, allocations: 154.9 kB / 0.9843 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.005326, allocations: 101.5 kB / 0.9844 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.442e-05/0.005371, allocations: 83.45 kB / 0.9845 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-05/0.005444, allocations: 154.9 kB / 0.9847 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.556e-05/0.00551, allocations: 154.9 kB / 0.9848 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.725e-05/0.005587, allocations: 154.5 kB / 0.985 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.005925, allocations: 397.6 kB / 0.9853 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.006039, allocations: 165.1 kB / 0.9855 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.774e-05/0.006087, allocations: 88.08 kB / 0.9856 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.919e-05/0.006126, allocations: 75.28 kB / 0.9857 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.444e-05/0.00619, allocations: 109.8 kB / 0.9858 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.006191, allocations: 0 / 0.9858 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.79e-05/0.006279, allocations: 33.69 kB / 0.9858 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.928e-05/0.006358, allocations: 126.7 kB / 0.9859 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.00648, allocations: 105.8 kB / 0.986 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.006498, allocations: 25.7 kB / 0.986 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/0.006548, allocations: 80.14 kB / 0.9861 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.006549, allocations: 0 / 0.9861 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.006578, allocations: 13.72 kB / 0.9861 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.006738, allocations: 310.8 kB / 0.9864 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.681e-06/0.006744, allocations: 0 / 0.9864 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.696e-05/0.006781, allocations: 33.62 kB / 0.9865 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.352e-05/0.006824, allocations: 83.28 kB / 0.9865 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.345e-05/0.006858, allocations: 75.28 kB / 0.9866 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.552e-05/0.006923, allocations: 29.86 kB / 0.9866 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.937e-05/0.006973, allocations: 83.28 kB / 0.9867 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.273e-05/0.007016, allocations: 75.28 kB / 0.9868 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.14e-05/0.007107, allocations: 158.6 kB / 0.9869 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.673e-05/0.007144, allocations: 83.22 kB / 0.987 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-05/0.007222, allocations: 158.4 kB / 0.9872 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.007385, allocations: 83.25 kB / 0.9872 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.726e-05/0.007432, allocations: 83.28 kB / 0.9873 GB, free: 5.73 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.000149/0.007581, allocations: 264.3 kB / 0.9876 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/0.00765, allocations: 105 kB / 0.9877 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.89e-05/0.007718, allocations: 112.1 kB / 0.9878 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.459e-05/0.007803, allocations: 188.2 kB / 0.988 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.487e-05/0.007888, allocations: 176.3 kB / 0.9881 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001536/0.008042, allocations: 188.1 kB / 0.9883 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.008277, allocations: 352.9 kB / 0.9886 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.805e-05/0.008325, allocations: 101 kB / 0.9887 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.919e-05/0.008374, allocations: 104.9 kB / 0.9888 GB, free: 4.078 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-05/0.008461, allocations: 180.3 kB / 0.989 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.008578, allocations: 184.2 kB / 0.9892 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.08e-05/0.008658, allocations: 180.3 kB / 0.9894 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.064e-05/0.008739, allocations: 180.2 kB / 0.9895 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.008972, allocations: 307.7 kB / 0.9898 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.009035, allocations: 116.9 kB / 0.9899 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.264e-05/0.009127, allocations: 180.2 kB / 0.9901 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.13e-05/0.009219, allocations: 101 kB / 0.9902 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.788e-05/0.009316, allocations: 184.2 kB / 0.9904 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.686e-05/0.009373, allocations: 101 kB / 0.9905 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.971e-05/0.009423, allocations: 79.28 kB / 0.9906 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.009423, allocations: 0 / 0.9906 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002904/0.009714, allocations: 3.938 kB / 0.9906 GB, free: 2.23 MB / 0.9356 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.0003913/0.0101, allocations: 206.6 kB / 0.9908 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.966e-05/0.01015, allocations: 7.938 kB / 0.9908 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01016, allocations: 0 / 0.9908 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.01016, allocations: 0 / 0.9908 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.01054, allocations: 451.7 kB / 0.9912 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002722/0.01081, allocations: 172.1 kB / 0.9914 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.999e-05/0.01087, allocations: 59.34 kB / 0.9914 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.705e-05/0.01089, allocations: 4 kB / 0.9914 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.789e-05/0.01091, allocations: 12.44 kB / 0.9914 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/0.01091, allocations: 0 / 0.9914 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of Templates: time 0.002673/0.01358, allocations: 363.8 kB / 0.9918 GB, free: 0.9688 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.059832070022821]