Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0015/0.0015, allocations: 77.55 kB / 19.76 MB, free: 2.031 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.001481/0.001481, allocations: 158.9 kB / 23.01 MB, free: 4.949 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.52/1.52, allocations: 177.2 MB / 203.4 MB, free: 8.934 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.736/2.736, allocations: 359.1 MB / 0.6044 GB, free: 14.81 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003188/0.003188, allocations: 63.89 kB / 0.9515 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3447, allocations: 169.9 MB / 1.117 GB, free: 2.5 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002601/0.3473, allocations: 1.265 MB / 1.119 GB, free: 1.227 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.3485, allocations: 0.8025 MB / 1.119 GB, free: 432 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.706e-05/0.3485, allocations: 0 / 1.119 GB, free: 432 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.124e-05/0.3485, allocations: 0 / 1.119 GB, free: 432 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.3488, allocations: 15.92 kB / 1.119 GB, free: 416 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.674e-05/0.3488, allocations: 8 kB / 1.119 GB, free: 408 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.246e-05/0.3489, allocations: 11.92 kB / 1.12 GB, free: 396 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.547e-05/0.3489, allocations: 7.969 kB / 1.12 GB, free: 388 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.793e-05/0.349, allocations: 4 kB / 1.12 GB, free: 384 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.3491, allocations: 4 kB / 1.12 GB, free: 380 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.3491, allocations: 4 kB / 1.12 GB, free: 376 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.026e-05/0.3491, allocations: 7.984 kB / 1.12 GB, free: 368 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.3493, allocations: 3.938 kB / 1.12 GB, free: 364 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.66e-05/0.3493, allocations: 0 / 1.12 GB, free: 364 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.348e-05/0.3494, allocations: 15.98 kB / 1.12 GB, free: 348 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3494, allocations: 0 / 1.12 GB, free: 348 kB / 1.061 GB Notification: Performance of FrontEnd: time 2.043e-06/0.3494, allocations: 0 / 1.12 GB, free: 348 kB / 1.061 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.3494, allocations: 0 / 1.12 GB, free: 348 kB / 1.061 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.0004187/0.3498, allocations: 242.4 kB / 1.12 GB, free: 72 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3499, allocations: 12.03 kB / 1.12 GB, free: 60 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.705e-05/0.3499, allocations: 84.16 kB / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.3501, allocations: 185.8 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.3502, allocations: 158.9 kB / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.87e-05/0.3503, allocations: 150.9 kB / 1.12 GB, free: 15.46 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.3504, allocations: 101.5 kB / 1.12 GB, free: 15.36 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/0.3505, allocations: 75.47 kB / 1.121 GB, free: 15.29 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.813e-05/0.3505, allocations: 158.5 kB / 1.121 GB, free: 15.13 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.114e-05/0.3506, allocations: 150.6 kB / 1.121 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.3507, allocations: 154.5 kB / 1.121 GB, free: 14.83 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.3511, allocations: 401.6 kB / 1.121 GB, free: 14.41 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.21e-05/0.3512, allocations: 169.1 kB / 1.122 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.527e-05/0.3512, allocations: 84.14 kB / 1.122 GB, free: 14.14 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.3513, allocations: 75.28 kB / 1.122 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.482e-05/0.3513, allocations: 113.8 kB / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.3513, allocations: 0 / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 7.478e-05/0.3514, allocations: 37.58 kB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.3515, allocations: 126.7 kB / 1.122 GB, free: 13.77 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.3516, allocations: 97.84 kB / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.3516, allocations: 25.7 kB / 1.122 GB, free: 13.63 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.3516, allocations: 80.14 kB / 1.122 GB, free: 13.55 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.162e-06/0.3516, allocations: 4.125 kB / 1.122 GB, free: 13.55 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.3517, allocations: 17.72 kB / 1.122 GB, free: 13.52 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.3518, allocations: 310.8 kB / 1.122 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.298e-06/0.3518, allocations: 0 / 1.122 GB, free: 13.21 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.749e-05/0.3518, allocations: 25.7 kB / 1.122 GB, free: 13.18 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.914e-05/0.3519, allocations: 79.28 kB / 1.123 GB, free: 13.1 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.282e-05/0.3519, allocations: 75.28 kB / 1.123 GB, free: 13.03 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.135e-05/0.352, allocations: 33.62 kB / 1.123 GB, free: 12.99 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/0.352, allocations: 83.28 kB / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.738e-05/0.352, allocations: 75.28 kB / 1.123 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.913e-05/0.3521, allocations: 162.6 kB / 1.123 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.653e-05/0.3522, allocations: 87.28 kB / 1.123 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.427e-05/0.3522, allocations: 150.6 kB / 1.123 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.3524, allocations: 79.22 kB / 1.123 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.3524, allocations: 83.27 kB / 1.123 GB, free: 12.28 MB / 1.076 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.0001362/0.3525, allocations: 256.4 kB / 1.124 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.489e-05/0.3526, allocations: 113 kB / 1.124 GB, free: 11.9 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.768e-05/0.3527, allocations: 108.1 kB / 1.124 GB, free: 11.78 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.891e-05/0.3528, allocations: 180.2 kB / 1.124 GB, free: 11.6 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-05/0.3528, allocations: 192.2 kB / 1.124 GB, free: 11.4 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.424e-05/0.3529, allocations: 180.3 kB / 1.124 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.3532, allocations: 356.8 kB / 1.125 GB, free: 10.83 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.439e-05/0.3532, allocations: 101 kB / 1.125 GB, free: 10.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.857e-05/0.3533, allocations: 105 kB / 1.125 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/0.3534, allocations: 188.1 kB / 1.125 GB, free: 10.43 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001682/0.3536, allocations: 176.3 kB / 1.125 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001289/0.3537, allocations: 180.2 kB / 1.125 GB, free: 10.06 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.984e-05/0.3538, allocations: 184.2 kB / 1.126 GB, free: 9.875 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.3541, allocations: 307.8 kB / 1.126 GB, free: 9.551 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.3541, allocations: 104.9 kB / 1.126 GB, free: 9.441 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.3542, allocations: 184.2 kB / 1.126 GB, free: 9.254 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.872e-05/0.3543, allocations: 113 kB / 1.126 GB, free: 9.137 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.3545, allocations: 192.1 kB / 1.126 GB, free: 8.941 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.608e-05/0.3545, allocations: 101 kB / 1.126 GB, free: 8.836 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.708e-05/0.3546, allocations: 79.28 kB / 1.127 GB, free: 8.758 MB / 1.076 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3546, allocations: 0 / 1.127 GB, free: 8.758 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003081/0.3549, allocations: 0 / 1.127 GB, free: 8.758 MB / 1.076 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.000355/0.3552, allocations: 190.5 kB / 1.127 GB, free: 8.562 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 5.087e-05/0.3553, allocations: 4.094 kB / 1.127 GB, free: 8.559 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3553, allocations: 4 kB / 1.127 GB, free: 8.555 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.126e-06/0.3553, allocations: 3.938 kB / 1.127 GB, free: 8.551 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.3557, allocations: 461.9 kB / 1.127 GB, free: 8.098 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.356, allocations: 168.7 kB / 1.127 GB, free: 7.906 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.029e-05/0.3561, allocations: 59.34 kB / 1.127 GB, free: 7.828 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.135e-05/0.3561, allocations: 0 / 1.127 GB, free: 7.828 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.3561, allocations: 12.5 kB / 1.127 GB, free: 7.816 MB / 1.076 GB Notification: Performance of SimCode: time 3.91e-07/0.3561, allocations: 0 / 1.127 GB, free: 7.816 MB / 1.076 GB Notification: Performance of Templates: time 0.00287/0.359, allocations: 334.7 kB / 1.128 GB, free: 7.531 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.624436306999996]