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.001578/0.001578, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001664/0.001664, allocations: 169 kB / 24.28 MB, free: 276 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.9901/0.9901, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.914/1.914, allocations: 377.8 MB / 0.6239 GB, free: 8.57 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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.633e-05, allocations: 8.922 kB / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001857/0.001883, allocations: 1.289 MB / 0.8128 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008945/0.002777, allocations: 0.843 MB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.002811, allocations: 0 / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.334e-05/0.002854, allocations: 0 / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.003102, allocations: 15.92 kB / 0.8136 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 7.216e-05/0.003174, allocations: 4.875 kB / 0.8136 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.145e-05/0.003235, allocations: 11.92 kB / 0.8137 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.997e-05/0.003275, allocations: 0.7812 kB / 0.8137 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.508e-05/0.00331, allocations: 4 kB / 0.8137 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.003414, allocations: 9.672 kB / 0.8137 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.003428, allocations: 0 / 0.8137 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 3.732e-05/0.003465, allocations: 7.938 kB / 0.8137 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.003511, allocations: 7.984 kB / 0.8137 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.072e-05/0.003532, allocations: 0 / 0.8137 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.024e-05/0.003622, allocations: 21.39 kB / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.003625, allocations: 0 / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.302e-06/0.003626, allocations: 0 / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.00363, allocations: 0 / 0.8137 GB, free: 15.86 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.0002656/0.003896, allocations: 337.8 kB / 0.814 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.003936, allocations: 12.03 kB / 0.814 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.139e-05/0.003997, allocations: 124.1 kB / 0.8142 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.004119, allocations: 229.6 kB / 0.8144 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.12e-05/0.00417, allocations: 238.8 kB / 0.8146 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.393e-05/0.004224, allocations: 242.8 kB / 0.8148 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.834e-05/0.004283, allocations: 149.5 kB / 0.815 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.004309, allocations: 123.4 kB / 0.8151 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.336e-05/0.004362, allocations: 239.6 kB / 0.8153 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.569e-05/0.004418, allocations: 242.7 kB / 0.8156 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.902e-05/0.004467, allocations: 247 kB / 0.8158 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002133/0.00468, allocations: 0.5681 MB / 0.8163 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.653e-05/0.004767, allocations: 266 kB / 0.8166 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.004802, allocations: 130.9 kB / 0.8167 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.004827, allocations: 120.6 kB / 0.8168 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.683e-05/0.004873, allocations: 156.5 kB / 0.817 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.493e-06/0.004875, allocations: 3.938 kB / 0.817 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 6.201e-05/0.004937, allocations: 32.27 kB / 0.817 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.004988, allocations: 170.6 kB / 0.8172 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.493e-05/0.005083, allocations: 161.9 kB / 0.8173 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.005093, allocations: 25.7 kB / 0.8174 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.557e-05/0.005128, allocations: 130.9 kB / 0.8175 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.00513, allocations: 0 / 0.8175 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/0.005151, allocations: 19.91 kB / 0.8175 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.005254, allocations: 492.8 kB / 0.818 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.458e-06/0.005258, allocations: 0 / 0.818 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.441e-05/0.005283, allocations: 26.23 kB / 0.818 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.901e-05/0.005312, allocations: 123.1 kB / 0.8181 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.429e-05/0.005336, allocations: 124.8 kB / 0.8182 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.042e-05/0.005376, allocations: 26.05 kB / 0.8183 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/0.005412, allocations: 131.2 kB / 0.8184 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.698e-05/0.005439, allocations: 119.2 kB / 0.8185 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.777e-05/0.005497, allocations: 246.9 kB / 0.8187 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.501e-05/0.005522, allocations: 123.2 kB / 0.8189 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.926e-05/0.005571, allocations: 242.9 kB / 0.8191 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.846e-05/0.00567, allocations: 123.9 kB / 0.8192 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.005696, allocations: 123.2 kB / 0.8193 GB, free: 9.887 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.0001076/0.005803, allocations: 396 kB / 0.8197 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.005847, allocations: 156.8 kB / 0.8199 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.311e-05/0.00589, allocations: 160 kB / 0.82 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001319/0.006022, allocations: 268.7 kB / 0.8203 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.417e-05/0.006076, allocations: 272.1 kB / 0.8205 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.256e-05/0.006129, allocations: 269 kB / 0.8208 GB, free: 8.355 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.00628, allocations: 0.496 MB / 0.8213 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.708e-05/0.006307, allocations: 146 kB / 0.8214 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.956e-05/0.006337, allocations: 148.8 kB / 0.8215 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.256e-05/0.00639, allocations: 268.1 kB / 0.8218 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.558e-05/0.006445, allocations: 272.9 kB / 0.8221 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.241e-05/0.006498, allocations: 264.4 kB / 0.8223 GB, free: 6.707 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.263e-05/0.00655, allocations: 270.3 kB / 0.8226 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.006672, allocations: 455.9 kB / 0.823 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.006708, allocations: 148.8 kB / 0.8231 GB, free: 5.812 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.978e-05/0.006768, allocations: 272 kB / 0.8234 GB, free: 5.539 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.078e-05/0.006819, allocations: 144.9 kB / 0.8235 GB, free: 5.391 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.11e-05/0.00688, allocations: 272 kB / 0.8238 GB, free: 5.117 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.006911, allocations: 155.7 kB / 0.824 GB, free: 4.961 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.887e-05/0.00695, allocations: 119.2 kB / 0.8241 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00695, allocations: 0 / 0.8241 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001748/0.007125, allocations: 7.938 kB / 0.8241 GB, free: 4.836 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.000258/0.007383, allocations: 233.3 kB / 0.8243 GB, free: 4.605 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.243e-05/0.007435, allocations: 3.938 kB / 0.8243 GB, free: 4.602 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.007437, allocations: 0 / 0.8243 GB, free: 4.602 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.007438, allocations: 0 / 0.8243 GB, free: 4.602 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.007734, allocations: 0.7068 MB / 0.825 GB, free: 3.891 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002675/0.008001, allocations: 210.3 kB / 0.8252 GB, free: 3.656 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.151e-05/0.008033, allocations: 55.92 kB / 0.8252 GB, free: 3.582 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.516e-05/0.008048, allocations: 0 / 0.8252 GB, free: 3.582 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.729e-05/0.008065, allocations: 10.34 kB / 0.8253 GB, free: 3.574 MB / 0.7761 GB Notification: Performance of SimCode: time 1.042e-06/0.008066, allocations: 0 / 0.8253 GB, free: 3.574 MB / 0.7761 GB Notification: Performance of Templates: time 0.002096/0.01016, allocations: 365 kB / 0.8256 GB, free: 3.27 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1423141590785235]