Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.001662/0.001662, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.001567/0.001567, allocations: 156.8 kB / 23.01 MB, free: 4.598 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.464/1.464, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.804/2.804, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") [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.002127/0.002127, allocations: 63.89 kB / 0.9819 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9402/0.9424, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002553/0.9449, allocations: 1.29 MB / 1.155 GB, free: 32.41 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.9462, allocations: 0.8197 MB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.325e-05/0.9463, allocations: 0 / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.511e-05/0.9463, allocations: 7.938 kB / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002922/0.9466, allocations: 14.17 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.9468, allocations: 54.58 kB / 1.156 GB, free: 31.78 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.261e-05/0.9469, allocations: 18.66 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.624e-05/0.9469, allocations: 0 / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.819e-05/0.947, allocations: 15.75 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.9471, allocations: 10.89 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.9472, allocations: 2.906 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.998e-05/0.9472, allocations: 6.781 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/0.9473, allocations: 14.14 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.9473, allocations: 10.58 kB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.9474, allocations: 15.06 kB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.9474, allocations: 2.906 kB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9474, allocations: 0 / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.9474, allocations: 0 / 1.156 GB, free: 31.74 MB / 1.076 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.000326/0.9477, allocations: 253.6 kB / 1.156 GB, free: 31.48 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.9478, allocations: 11.12 kB / 1.156 GB, free: 31.48 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.07e-05/0.9478, allocations: 76.22 kB / 1.156 GB, free: 31.41 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.948, allocations: 184.7 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.948, allocations: 161.6 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.948, allocations: 154.9 kB / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.403e-05/0.9481, allocations: 107.8 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.9481, allocations: 79.47 kB / 1.157 GB, free: 30.71 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.9481, allocations: 154.5 kB / 1.157 GB, free: 30.56 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.9481, allocations: 150.6 kB / 1.157 GB, free: 30.41 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.899e-05/0.9482, allocations: 153.3 kB / 1.158 GB, free: 30.26 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002083/0.9484, allocations: 410.1 kB / 1.158 GB, free: 29.84 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.243e-05/0.9484, allocations: 165.1 kB / 1.158 GB, free: 29.67 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.874e-05/0.9485, allocations: 82.95 kB / 1.158 GB, free: 29.59 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.9485, allocations: 75.28 kB / 1.158 GB, free: 29.51 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.9485, allocations: 113.9 kB / 1.158 GB, free: 29.39 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.9485, allocations: 0 / 1.158 GB, free: 29.39 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 8.083e-05/0.9486, allocations: 40.08 kB / 1.158 GB, free: 29.35 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.9486, allocations: 129.4 kB / 1.159 GB, free: 29.21 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.7e-05/0.9487, allocations: 104.8 kB / 1.159 GB, free: 29.11 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.936e-06/0.9487, allocations: 25.7 kB / 1.159 GB, free: 29.08 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.527e-05/0.9488, allocations: 83.28 kB / 1.159 GB, free: 29 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.9488, allocations: 0 / 1.159 GB, free: 29 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.9488, allocations: 14.94 kB / 1.159 GB, free: 28.98 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.514e-05/0.9488, allocations: 320.6 kB / 1.159 GB, free: 28.66 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.662e-05/0.9489, allocations: 10.47 kB / 1.159 GB, free: 28.66 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.901e-05/0.9489, allocations: 34.27 kB / 1.159 GB, free: 28.62 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.931e-05/0.9489, allocations: 13.14 kB / 1.159 GB, free: 28.62 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.9489, allocations: 0 / 1.159 GB, free: 28.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001047/0.949, allocations: 47.83 kB / 1.159 GB, free: 28.58 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.949, allocations: 5.125 kB / 1.159 GB, free: 28.58 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.949, allocations: 0 / 1.159 GB, free: 28.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.9491, allocations: 6.375 kB / 1.159 GB, free: 28.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.273e-06/0.9491, allocations: 0 / 1.159 GB, free: 28.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.9491, allocations: 128 / 1.159 GB, free: 28.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.111e-05/0.9491, allocations: 6.531 kB / 1.159 GB, free: 28.57 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.9492, allocations: 3.281 kB / 1.159 GB, free: 28.57 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 6.351e-05/0.9492, allocations: 183.8 kB / 1.159 GB, free: 28.38 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.9493, allocations: 111.4 kB / 1.159 GB, free: 28.27 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.9493, allocations: 118.6 kB / 1.16 GB, free: 28.14 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.34e-05/0.9493, allocations: 184.2 kB / 1.16 GB, free: 27.96 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.67e-05/0.9493, allocations: 181.2 kB / 1.16 GB, free: 27.77 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.527e-05/0.9494, allocations: 179.8 kB / 1.16 GB, free: 27.59 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.9495, allocations: 355.2 kB / 1.16 GB, free: 27.21 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/0.9495, allocations: 111.8 kB / 1.161 GB, free: 27.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-05/0.9495, allocations: 105 kB / 1.161 GB, free: 26.99 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.428e-05/0.9495, allocations: 186.3 kB / 1.161 GB, free: 26.81 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.9496, allocations: 176.3 kB / 1.161 GB, free: 26.63 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.361e-05/0.9496, allocations: 179.1 kB / 1.161 GB, free: 26.45 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-05/0.9496, allocations: 188.3 kB / 1.161 GB, free: 26.26 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.443e-05/0.9497, allocations: 312.7 kB / 1.162 GB, free: 25.94 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.9497, allocations: 103.6 kB / 1.162 GB, free: 25.83 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.9498, allocations: 183.5 kB / 1.162 GB, free: 25.65 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.357e-05/0.9498, allocations: 108 kB / 1.162 GB, free: 25.54 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.9498, allocations: 180.2 kB / 1.162 GB, free: 25.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.9499, allocations: 111.7 kB / 1.162 GB, free: 25.24 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.905e-05/0.9499, allocations: 88.17 kB / 1.162 GB, free: 25.16 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9499, allocations: 0 / 1.162 GB, free: 25.16 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002314/0.9501, allocations: 2.812 kB / 1.162 GB, free: 25.16 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.0002293/0.9503, allocations: 184.7 kB / 1.163 GB, free: 25 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 7.366e-05/0.9504, allocations: 8.781 kB / 1.163 GB, free: 25 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.9504, allocations: 0 / 1.163 GB, free: 25 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.824e-06/0.9504, allocations: 4.062 kB / 1.163 GB, free: 25 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.9507, allocations: 460.4 kB / 1.163 GB, free: 24.55 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002601/0.9509, allocations: 174.9 kB / 1.163 GB, free: 24.37 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.243e-05/0.951, allocations: 68.06 kB / 1.163 GB, free: 24.29 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.854e-05/0.951, allocations: 0 / 1.163 GB, free: 24.29 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.484e-05/0.951, allocations: 8.5 kB / 1.163 GB, free: 24.28 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/0.951, allocations: 0 / 1.163 GB, free: 24.28 MB / 1.076 GB Notification: Performance of Templates: time 0.002649/0.9537, allocations: 445.1 kB / 1.164 GB, free: 24.2 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.882519845035858]