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.002479/0.002479, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.003159/0.003159, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.572/1.572, allocations: 177.1 MB / 203.9 MB, free: 5.297 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 3.013/3.013, allocations: 377.8 MB / 0.6232 GB, free: 8.562 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.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.843e-06/1.843e-06, allocations: 0 / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.065e-05/3.249e-05, allocations: 6.312 kB / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002551/0.002583, allocations: 1.275 MB / 0.8121 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.00384, allocations: 0.8199 MB / 0.8129 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.992e-05/0.003869, allocations: 0 / 0.8129 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.081e-05/0.00392, allocations: 0 / 0.8129 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.004168, allocations: 23.81 kB / 0.8129 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 7.588e-05/0.004244, allocations: 4.641 kB / 0.8129 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.583e-05/0.00431, allocations: 7.984 kB / 0.8129 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.004348, allocations: 4.656 kB / 0.8129 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.886e-05/0.004397, allocations: 4.969 kB / 0.8129 GB, free: 0 / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.004556, allocations: 8.062 kB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.004573, allocations: 0 / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.145e-05/0.004625, allocations: 16.69 kB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.584e-05/0.00467, allocations: 0 / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.004693, allocations: 6.406 kB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.743e-05/0.00478, allocations: 4 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.004783, allocations: 0 / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.272e-06/0.004784, allocations: 0 / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.004789, allocations: 0 / 0.8129 GB, free: 15.96 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.0004254/0.005214, allocations: 348.4 kB / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.005255, allocations: 8.031 kB / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.005361, allocations: 121.5 kB / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.005558, allocations: 231.8 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.005689, allocations: 238.8 kB / 0.8138 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.005826, allocations: 252.3 kB / 0.8141 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.005941, allocations: 149.5 kB / 0.8142 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.708e-05/0.006008, allocations: 123.3 kB / 0.8143 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.006133, allocations: 242.7 kB / 0.8146 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002695/0.006402, allocations: 240.4 kB / 0.8148 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.006531, allocations: 246.3 kB / 0.815 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.00695, allocations: 0.5642 MB / 0.8156 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.007133, allocations: 265.4 kB / 0.8158 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.443e-05/0.007208, allocations: 130.8 kB / 0.816 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.416e-05/0.007282, allocations: 124.1 kB / 0.8161 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.363e-05/0.007376, allocations: 156.6 kB / 0.8162 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.007376, allocations: 0.5312 kB / 0.8162 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 8.115e-05/0.007458, allocations: 30.31 kB / 0.8163 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.007561, allocations: 170.6 kB / 0.8164 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.007709, allocations: 162.4 kB / 0.8166 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.007729, allocations: 26.98 kB / 0.8166 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.521e-05/0.007804, allocations: 126.9 kB / 0.8167 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.63e-06/0.00781, allocations: 4 kB / 0.8167 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-05/0.007845, allocations: 19.89 kB / 0.8168 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002511/0.008096, allocations: 497.4 kB / 0.8172 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.539e-06/0.0081, allocations: 0 / 0.8172 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.216e-05/0.008133, allocations: 29.7 kB / 0.8173 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.252e-05/0.008205, allocations: 119.2 kB / 0.8174 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.324e-05/0.008268, allocations: 124.3 kB / 0.8175 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.74e-05/0.008326, allocations: 29.7 kB / 0.8175 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.322e-05/0.008399, allocations: 123.2 kB / 0.8176 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.251e-05/0.008471, allocations: 124.2 kB / 0.8178 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001353/0.008607, allocations: 242.4 kB / 0.818 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.806e-05/0.008675, allocations: 123.2 kB / 0.8181 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001229/0.008798, allocations: 243.3 kB / 0.8183 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.00896, allocations: 131.1 kB / 0.8185 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/0.009021, allocations: 123.1 kB / 0.8186 GB, free: 9.973 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 (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.000228/0.009249, allocations: 395.9 kB / 0.819 GB, free: 9.574 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.606e-05/0.009346, allocations: 150.2 kB / 0.8191 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.683e-05/0.009432, allocations: 152 kB / 0.8192 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001393/0.009572, allocations: 272 kB / 0.8195 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001356/0.009707, allocations: 264.1 kB / 0.8198 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001412/0.009848, allocations: 276.8 kB / 0.82 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003336/0.01018, allocations: 499.9 kB / 0.8205 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-05/0.01026, allocations: 150 kB / 0.8206 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.774e-05/0.01034, allocations: 148.8 kB / 0.8208 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001343/0.01047, allocations: 268.1 kB / 0.821 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/0.01061, allocations: 273.4 kB / 0.8213 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001433/0.01076, allocations: 272.4 kB / 0.8216 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001341/0.01089, allocations: 268 kB / 0.8218 GB, free: 6.531 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.0113, allocations: 448 kB / 0.8222 GB, free: 6.066 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.753e-05/0.01139, allocations: 162.3 kB / 0.8224 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.01153, allocations: 264.1 kB / 0.8226 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.01164, allocations: 148.8 kB / 0.8228 GB, free: 5.484 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.01178, allocations: 268.1 kB / 0.823 GB, free: 5.215 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.652e-05/0.01186, allocations: 147.7 kB / 0.8232 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.68e-05/0.01194, allocations: 123.2 kB / 0.8233 GB, free: 4.945 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01194, allocations: 0 / 0.8233 GB, free: 4.945 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002692/0.01221, allocations: 7.922 kB / 0.8233 GB, free: 4.938 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.00037/0.01258, allocations: 235.3 kB / 0.8235 GB, free: 4.699 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.348e-05/0.01263, allocations: 4 kB / 0.8235 GB, free: 4.695 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01263, allocations: 1.938 kB / 0.8235 GB, free: 4.695 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.01263, allocations: 4 kB / 0.8235 GB, free: 4.691 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005649/0.0132, allocations: 0.6984 MB / 0.8242 GB, free: 3.988 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.01354, allocations: 217.7 kB / 0.8244 GB, free: 3.746 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.709e-05/0.01361, allocations: 60.06 kB / 0.8245 GB, free: 3.668 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.482e-05/0.01362, allocations: 0 / 0.8245 GB, free: 3.668 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.01365, allocations: 13.28 kB / 0.8245 GB, free: 3.656 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.01365, allocations: 0 / 0.8245 GB, free: 3.656 MB / 0.7761 GB Notification: Performance of Templates: time 0.003036/0.01668, allocations: 363.8 kB / 0.8248 GB, free: 3.359 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 240] 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.115015130024403]