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.001017/0.001017, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009793/0.0009793, allocations: 181.3 kB / 24.09 MB, free: 416 kB / 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.9331/0.9331, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.953/1.953, allocations: 377.9 MB / 0.624 GB, free: 8.434 MB / 0.5886 GB " [Timeout remaining time 177] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.812 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.956e-05/3.177e-05, allocations: 2.969 kB / 0.812 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002982/0.003014, allocations: 1.311 MB / 0.8133 GB, free: 156 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001731/0.004745, allocations: 0.8691 MB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.188e-05/0.004787, allocations: 0 / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.918e-05/0.004846, allocations: 5.719 kB / 0.8142 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003408/0.005186, allocations: 11.92 kB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.005386, allocations: 51.8 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.799e-05/0.005484, allocations: 21.53 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.138e-05/0.005535, allocations: 7.969 kB / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.005638, allocations: 15.94 kB / 0.8143 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.005744, allocations: 3.984 kB / 0.8143 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.00577, allocations: 4.844 kB / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.059e-05/0.005821, allocations: 7.984 kB / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.18e-05/0.005882, allocations: 8.969 kB / 0.8143 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.254e-05/0.005915, allocations: 7.984 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.00605, allocations: 29.09 kB / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.006055, allocations: 0 / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.353e-06/0.006057, allocations: 0 / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.006061, allocations: 0 / 0.8143 GB, free: 15.11 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.0004128/0.006474, allocations: 357.8 kB / 0.8147 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/0.006535, allocations: 8.031 kB / 0.8147 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.422e-05/0.006619, allocations: 120.1 kB / 0.8148 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.00679, allocations: 229.2 kB / 0.815 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-05/0.006878, allocations: 242.7 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-05/0.006961, allocations: 242.8 kB / 0.8155 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.37e-05/0.007054, allocations: 145.5 kB / 0.8156 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.602e-05/0.0071, allocations: 121.1 kB / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.639e-05/0.007187, allocations: 242.7 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001354/0.007322, allocations: 246.7 kB / 0.8162 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.737e-05/0.007419, allocations: 246.3 kB / 0.8164 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006304/0.00805, allocations: 0.5505 MB / 0.817 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.008198, allocations: 265.4 kB / 0.8172 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.008299, allocations: 130.9 kB / 0.8173 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.008337, allocations: 119.2 kB / 0.8174 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.556e-05/0.008392, allocations: 153.1 kB / 0.8176 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 3.447e-06/0.008396, allocations: 1.906 kB / 0.8176 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 9.39e-05/0.008489, allocations: 45.58 kB / 0.8176 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.008558, allocations: 170.6 kB / 0.8178 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.008691, allocations: 165.9 kB / 0.818 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.008703, allocations: 25.7 kB / 0.818 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.008756, allocations: 129.2 kB / 0.8181 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-06/0.008758, allocations: 3.984 kB / 0.8181 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.008798, allocations: 19.38 kB / 0.8181 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002663/0.009065, allocations: 0.4922 MB / 0.8186 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.683e-05/0.009082, allocations: 3.938 kB / 0.8186 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.997e-05/0.009111, allocations: 33.7 kB / 0.8186 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.222e-05/0.009144, allocations: 12.41 kB / 0.8187 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.009146, allocations: 0.5312 kB / 0.8187 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.556e-05/0.009241, allocations: 39.3 kB / 0.8187 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.009256, allocations: 4 kB / 0.8187 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.009266, allocations: 3.984 kB / 0.8187 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.009281, allocations: 0 / 0.8187 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.498e-06/0.009285, allocations: 0.6562 kB / 0.8187 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.009288, allocations: 0 / 0.8187 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.268e-05/0.009371, allocations: 9.094 kB / 0.8187 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.009379, allocations: 4.188 kB / 0.8187 GB, free: 10.4 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 9.967e-05/0.009479, allocations: 276.3 kB / 0.819 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.009524, allocations: 148.9 kB / 0.8191 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.022e-05/0.009574, allocations: 157.1 kB / 0.8193 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.867e-05/0.009643, allocations: 272.1 kB / 0.8195 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.243e-05/0.009706, allocations: 272.9 kB / 0.8198 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002241/0.00993, allocations: 264.1 kB / 0.82 GB, free: 9 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.01012, allocations: 486.2 kB / 0.8205 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.955e-05/0.01016, allocations: 152.8 kB / 0.8207 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-05/0.01019, allocations: 144.9 kB / 0.8208 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.65e-05/0.01026, allocations: 272.1 kB / 0.8211 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.494e-05/0.01033, allocations: 264.1 kB / 0.8213 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.816e-05/0.01039, allocations: 276.9 kB / 0.8216 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.379e-05/0.01046, allocations: 268 kB / 0.8218 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.0106, allocations: 450.1 kB / 0.8223 GB, free: 6.637 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.01067, allocations: 148.9 kB / 0.8224 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.401e-05/0.01074, allocations: 276 kB / 0.8227 GB, free: 6.207 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.425e-05/0.0108, allocations: 148.9 kB / 0.8228 GB, free: 6.055 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.853e-05/0.01086, allocations: 268.4 kB / 0.8231 GB, free: 5.785 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/0.0109, allocations: 152.8 kB / 0.8232 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.038e-05/0.01095, allocations: 129.2 kB / 0.8233 GB, free: 5.504 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.01095, allocations: 4 kB / 0.8233 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001468/0.0111, allocations: 0 / 0.8233 GB, free: 5.5 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.0002652/0.01137, allocations: 243.3 kB / 0.8236 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.414e-05/0.01144, allocations: 15.62 kB / 0.8236 GB, free: 5.238 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.01144, allocations: 0 / 0.8236 GB, free: 5.238 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.01144, allocations: 0.875 kB / 0.8236 GB, free: 5.238 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006332/0.01208, allocations: 0.7139 MB / 0.8243 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.01234, allocations: 215.4 kB / 0.8245 GB, free: 4.281 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.754e-05/0.01237, allocations: 55.36 kB / 0.8245 GB, free: 4.207 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.349e-05/0.0124, allocations: 0 / 0.8245 GB, free: 4.207 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.753e-05/0.01244, allocations: 74.19 kB / 0.8246 GB, free: 4.133 MB / 0.7761 GB Notification: Performance of SimCode: time 1.243e-06/0.01245, allocations: 0.5 kB / 0.8246 GB, free: 4.133 MB / 0.7761 GB Notification: Performance of Templates: time 0.002289/0.01473, allocations: 0.5024 MB / 0.8251 GB, free: 3.66 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9597650822252035]