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.001487/0.001487, allocations: 88.39 kB / 20.23 MB, free: 4.164 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.001636/0.001636, allocations: 157.7 kB / 23.54 MB, free: 0.8594 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.492/1.492, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 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.888/2.888, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 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.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: Performance of FrontEnd - loaded program: time 2.225e-06/2.225e-06, allocations: 0 / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.885e-05/3.108e-05, allocations: 4.141 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.003664/0.003695, allocations: 1.294 MB / 0.8121 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.005536, allocations: 0.8377 MB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.005567, allocations: 1.344 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.837e-05/0.005626, allocations: 3.984 kB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002519/0.005878, allocations: 11.92 kB / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.00616, allocations: 53.67 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.042e-05/0.006251, allocations: 19.92 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.004e-05/0.006301, allocations: 4 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.006401, allocations: 15.98 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.006509, allocations: 9.547 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.006529, allocations: 0 / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.981e-05/0.006578, allocations: 4 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.33e-05/0.006632, allocations: 11.92 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.006672, allocations: 13.33 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.006788, allocations: 15.92 kB / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.006791, allocations: 0 / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.072e-06/0.006792, allocations: 0 / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.006796, allocations: 5.938 kB / 0.8131 GB, free: 15.79 MB / 0.7761 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.000467/0.007263, allocations: 250.3 kB / 0.8133 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.007312, allocations: 8.031 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.00743, allocations: 84.17 kB / 0.8134 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.007643, allocations: 181.1 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.007764, allocations: 157.1 kB / 0.8137 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.007887, allocations: 150.9 kB / 0.8139 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.008009, allocations: 109.5 kB / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.419e-05/0.008073, allocations: 79.41 kB / 0.814 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.008199, allocations: 154.9 kB / 0.8142 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001153/0.008315, allocations: 155.4 kB / 0.8143 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.008434, allocations: 154.5 kB / 0.8145 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004854/0.008919, allocations: 398.3 kB / 0.8149 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.009089, allocations: 173.1 kB / 0.815 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.408e-05/0.009163, allocations: 84.61 kB / 0.8151 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.34e-05/0.009226, allocations: 80.89 kB / 0.8152 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.87e-05/0.009325, allocations: 109.8 kB / 0.8153 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.009326, allocations: 0 / 0.8153 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0001155/0.009442, allocations: 25.7 kB / 0.8153 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.009555, allocations: 131.2 kB / 0.8154 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.009735, allocations: 113.7 kB / 0.8155 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.009765, allocations: 27.02 kB / 0.8156 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.03e-05/0.009846, allocations: 84.14 kB / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-06/0.009848, allocations: 0 / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.555e-05/0.009914, allocations: 18.86 kB / 0.8157 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002503/0.01016, allocations: 314.8 kB / 0.816 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.847e-05/0.01019, allocations: 7.938 kB / 0.816 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.268e-05/0.01027, allocations: 39.06 kB / 0.816 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.067e-05/0.01032, allocations: 12.86 kB / 0.816 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01032, allocations: 0 / 0.816 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001785/0.0105, allocations: 42.72 kB / 0.8161 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.01052, allocations: 8 kB / 0.8161 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.01052, allocations: 0.6562 kB / 0.8161 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.01054, allocations: 0 / 0.8161 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.01054, allocations: 1 kB / 0.8161 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.01055, allocations: 0 / 0.8161 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.01067, allocations: 8.781 kB / 0.8161 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.01068, allocations: 0 / 0.8161 GB, free: 12.51 MB / 0.7761 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 0.0001918/0.01087, allocations: 190.6 kB / 0.8163 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.011, allocations: 109 kB / 0.8164 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.11e-05/0.01109, allocations: 104.5 kB / 0.8165 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001436/0.01124, allocations: 188.5 kB / 0.8166 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001402/0.01138, allocations: 177.2 kB / 0.8168 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001617/0.01154, allocations: 200.2 kB / 0.817 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003968/0.01193, allocations: 352.9 kB / 0.8173 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.309e-05/0.01202, allocations: 103.1 kB / 0.8174 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.599e-05/0.0121, allocations: 112.8 kB / 0.8175 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001395/0.01224, allocations: 176.3 kB / 0.8177 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/0.01238, allocations: 184.2 kB / 0.8179 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001351/0.01252, allocations: 176.3 kB / 0.8181 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001416/0.01266, allocations: 182.5 kB / 0.8182 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.01294, allocations: 315.6 kB / 0.8185 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.01305, allocations: 104.9 kB / 0.8186 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.01321, allocations: 180.3 kB / 0.8188 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.01337, allocations: 101 kB / 0.8189 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.01352, allocations: 192.2 kB / 0.8191 GB, free: 9.258 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.011e-05/0.0136, allocations: 101.5 kB / 0.8192 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.864e-05/0.01369, allocations: 79.81 kB / 0.8193 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.61e-07/0.01369, allocations: 0 / 0.8193 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004307/0.01412, allocations: 13.22 kB / 0.8193 GB, free: 9.062 MB / 0.7761 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.0004367/0.01455, allocations: 193.8 kB / 0.8195 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001033/0.01466, allocations: 15.94 kB / 0.8195 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01466, allocations: 0.6562 kB / 0.8195 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.415e-06/0.01466, allocations: 0.6562 kB / 0.8195 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006978/0.01536, allocations: 459.6 kB / 0.8199 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.01576, allocations: 175.5 kB / 0.8201 GB, free: 8.203 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.657e-05/0.01585, allocations: 59.22 kB / 0.8201 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.149e-05/0.01587, allocations: 0 / 0.8201 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.0159, allocations: 8.5 kB / 0.8201 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.0159, allocations: 0 / 0.8201 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of Templates: time 0.004026/0.01993, allocations: 475.2 kB / 0.8206 GB, free: 7.68 MB / 0.7761 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 7.774073812994175]