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.0008712/0.0008712, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008645/0.0008645, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.9446/0.9446, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.757/1.757, allocations: 377.9 MB / 0.6229 GB, free: 8.625 MB / 0.5886 GB " [Timeout remaining time 178] 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.713e-06/1.713e-06, allocations: 0 / 0.9822 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.141e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001466/0.001487, allocations: 1.271 MB / 0.9834 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007141/0.002201, allocations: 0.8096 MB / 0.9842 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.552e-05/0.002227, allocations: 4 kB / 0.9842 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 3.089e-05/0.002257, allocations: 4 kB / 0.9842 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.002496, allocations: 15.91 kB / 0.9842 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 6.643e-05/0.002563, allocations: 3.938 kB / 0.9843 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 5.747e-05/0.00262, allocations: 11.94 kB / 0.9843 GB, free: 15.91 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.42e-05/0.002664, allocations: 8 kB / 0.9843 GB, free: 15.91 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.607e-05/0.0027, allocations: 7.969 kB / 0.9843 GB, free: 15.9 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.148e-05/0.002782, allocations: 4 kB / 0.9843 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.002797, allocations: 0 / 0.9843 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 3.707e-05/0.002834, allocations: 7.938 kB / 0.9843 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.264e-05/0.002876, allocations: 8 kB / 0.9843 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.726e-05/0.002894, allocations: 0 / 0.9843 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 7.856e-05/0.002972, allocations: 15.97 kB / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.002974, allocations: 0 / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.272e-06/0.002975, allocations: 0 / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.002979, allocations: 4 kB / 0.9843 GB, free: 15.86 MB / 0.948 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.0003079/0.003287, allocations: 242.4 kB / 0.9845 GB, free: 15.59 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.00332, allocations: 8.031 kB / 0.9846 GB, free: 15.58 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.003366, allocations: 80.22 kB / 0.9846 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.003476, allocations: 181.1 kB / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.003526, allocations: 154.9 kB / 0.985 GB, free: 15.15 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.204e-05/0.003568, allocations: 158.9 kB / 0.9851 GB, free: 14.99 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.055e-05/0.003619, allocations: 101.5 kB / 0.9852 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.003644, allocations: 75.47 kB / 0.9853 GB, free: 14.81 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.003679, allocations: 150.9 kB / 0.9854 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.412e-05/0.003713, allocations: 154.9 kB / 0.9856 GB, free: 14.51 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.666e-05/0.003749, allocations: 154.5 kB / 0.9857 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.003925, allocations: 401.6 kB / 0.9861 GB, free: 13.94 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.85e-05/0.003983, allocations: 169.1 kB / 0.9863 GB, free: 13.76 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.387e-05/0.004007, allocations: 80.14 kB / 0.9863 GB, free: 13.68 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.004027, allocations: 75.28 kB / 0.9864 GB, free: 13.61 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.004058, allocations: 113.8 kB / 0.9865 GB, free: 13.48 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 6.42e-07/0.004058, allocations: 3.938 kB / 0.9865 GB, free: 13.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 5.682e-05/0.004115, allocations: 33.64 kB / 0.9865 GB, free: 13.44 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.004158, allocations: 130.6 kB / 0.9867 GB, free: 13.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.988e-05/0.004228, allocations: 101.8 kB / 0.9868 GB, free: 13.19 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.004239, allocations: 29.7 kB / 0.9868 GB, free: 13.16 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.402e-05/0.004263, allocations: 80.14 kB / 0.9869 GB, free: 13.07 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-06/0.004264, allocations: 0 / 0.9869 GB, free: 13.07 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.632e-05/0.004281, allocations: 9.719 kB / 0.9869 GB, free: 13.06 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.102e-05/0.004352, allocations: 318.8 kB / 0.9872 GB, free: 12.74 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.379e-06/0.004356, allocations: 4.125 kB / 0.9872 GB, free: 12.73 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.947e-05/0.004376, allocations: 25.7 kB / 0.9872 GB, free: 12.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.798e-05/0.004394, allocations: 75.28 kB / 0.9873 GB, free: 12.63 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-05/0.004411, allocations: 79.28 kB / 0.9874 GB, free: 12.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.48e-05/0.004446, allocations: 37.75 kB / 0.9874 GB, free: 12.51 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.004473, allocations: 86.5 kB / 0.9875 GB, free: 12.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.004491, allocations: 79.28 kB / 0.9876 GB, free: 12.35 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.127e-05/0.004533, allocations: 150.6 kB / 0.9877 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.612e-05/0.004549, allocations: 79.22 kB / 0.9878 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.799e-05/0.004587, allocations: 158.6 kB / 0.9879 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.519e-05/0.004662, allocations: 83.19 kB / 0.988 GB, free: 11.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.004678, allocations: 79.33 kB / 0.9881 GB, free: 11.8 MB / 0.948 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 7.524e-05/0.004753, allocations: 268.4 kB / 0.9883 GB, free: 11.53 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.004785, allocations: 101 kB / 0.9884 GB, free: 11.43 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/0.004814, allocations: 112.1 kB / 0.9885 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.796e-05/0.004852, allocations: 180.3 kB / 0.9887 GB, free: 11.13 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-05/0.004896, allocations: 180.2 kB / 0.9889 GB, free: 10.95 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-05/0.004937, allocations: 188.2 kB / 0.9891 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.005055, allocations: 348.9 kB / 0.9894 GB, free: 10.38 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.376e-05/0.005079, allocations: 104.9 kB / 0.9895 GB, free: 10.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.283e-05/0.005102, allocations: 109 kB / 0.9896 GB, free: 10.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-05/0.005141, allocations: 184.2 kB / 0.9898 GB, free: 9.965 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-05/0.00518, allocations: 180.3 kB / 0.99 GB, free: 9.781 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.478e-05/0.005215, allocations: 176.3 kB / 0.9901 GB, free: 9.602 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.746e-05/0.005252, allocations: 184.2 kB / 0.9903 GB, free: 9.414 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.378e-05/0.005336, allocations: 315.7 kB / 0.9906 GB, free: 9.082 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.005362, allocations: 101 kB / 0.9907 GB, free: 8.977 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.005408, allocations: 188.2 kB / 0.9909 GB, free: 8.785 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.241e-05/0.005451, allocations: 104.9 kB / 0.991 GB, free: 8.676 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.005493, allocations: 180.2 kB / 0.9911 GB, free: 8.492 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.005517, allocations: 108.9 kB / 0.9912 GB, free: 8.379 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.007e-05/0.005547, allocations: 83.28 kB / 0.9913 GB, free: 8.297 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005547, allocations: 0 / 0.9913 GB, free: 8.297 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001678/0.005715, allocations: 7.938 kB / 0.9913 GB, free: 8.289 MB / 0.948 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.0002749/0.005989, allocations: 196.6 kB / 0.9915 GB, free: 8.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 3.98e-05/0.006029, allocations: 0 / 0.9915 GB, free: 8.09 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.006031, allocations: 0 / 0.9915 GB, free: 8.09 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.61e-07/0.006031, allocations: 0 / 0.9915 GB, free: 8.09 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.006258, allocations: 459.8 kB / 0.992 GB, free: 7.637 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002075/0.006465, allocations: 197.8 kB / 0.9921 GB, free: 7.41 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.037e-05/0.006506, allocations: 55.36 kB / 0.9922 GB, free: 7.336 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.624e-05/0.006522, allocations: 12.48 kB / 0.9922 GB, free: 7.324 MB / 0.948 GB Notification: Performance of SimCode: time 3.51e-07/0.006522, allocations: 0 / 0.9922 GB, free: 7.324 MB / 0.948 GB Notification: Performance of Templates: time 0.001376/0.007898, allocations: 492.4 kB / 0.9927 GB, free: 6.848 MB / 0.948 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: 6.980007998645306]