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.001066/0.001066, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001206/0.001206, allocations: 170 kB / 24.86 MB, free: 8.895 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 0.9581/0.9581, allocations: 177.1 MB / 205.3 MB, free: 5.113 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.902/1.902, allocations: 377.9 MB / 0.6247 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 178] 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.753e-06/1.753e-06, allocations: 0 / 0.8128 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.766e-05, allocations: 4.094 kB / 0.8128 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001855/0.001883, allocations: 1.299 MB / 0.814 GB, free: 184 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009136/0.002797, allocations: 0.85 MB / 0.8149 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.002832, allocations: 1.625 kB / 0.8149 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.405e-05/0.002876, allocations: 0 / 0.8149 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000237/0.003113, allocations: 16.91 kB / 0.8149 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 6.391e-05/0.003177, allocations: 4 kB / 0.8149 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.044e-05/0.003227, allocations: 13.14 kB / 0.8149 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.003264, allocations: 0 / 0.8149 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.021e-05/0.003294, allocations: 7.984 kB / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.671e-05/0.003381, allocations: 6.203 kB / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.003394, allocations: 0 / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 3.513e-05/0.003429, allocations: 8.594 kB / 0.8149 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.003468, allocations: 11.98 kB / 0.8149 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.456e-05/0.003483, allocations: 1.062 kB / 0.8149 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 7.575e-05/0.003559, allocations: 11.92 kB / 0.815 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.003561, allocations: 4 kB / 0.815 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.52e-07/0.003562, allocations: 4.812 kB / 0.815 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.003566, allocations: 0 / 0.815 GB, free: 15.25 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.0002356/0.003801, allocations: 337.7 kB / 0.8153 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.003831, allocations: 8.031 kB / 0.8153 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.003878, allocations: 124.1 kB / 0.8154 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.003981, allocations: 229.3 kB / 0.8156 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.567e-05/0.004037, allocations: 242.8 kB / 0.8159 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.248e-05/0.004089, allocations: 242.8 kB / 0.8161 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.673e-05/0.004146, allocations: 149.5 kB / 0.8162 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.004174, allocations: 120.8 kB / 0.8164 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.416e-05/0.004228, allocations: 242.8 kB / 0.8166 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.052e-05/0.004279, allocations: 238.8 kB / 0.8168 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.337e-05/0.004332, allocations: 246.2 kB / 0.817 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/0.004544, allocations: 0.5588 MB / 0.8176 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.668e-05/0.00463, allocations: 265.4 kB / 0.8178 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/0.004665, allocations: 126.9 kB / 0.818 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.004696, allocations: 123.2 kB / 0.8181 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.004742, allocations: 164.5 kB / 0.8182 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.004743, allocations: 1.438 kB / 0.8182 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.416e-05/0.004797, allocations: 25.7 kB / 0.8183 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.00485, allocations: 174.6 kB / 0.8184 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.265e-05/0.004933, allocations: 159.2 kB / 0.8186 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.004945, allocations: 25.7 kB / 0.8186 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.00499, allocations: 130.9 kB / 0.8187 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.072e-06/0.004991, allocations: 0.5625 kB / 0.8187 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/0.005012, allocations: 15.38 kB / 0.8187 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.005144, allocations: 0.4928 MB / 0.8192 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.286e-06/0.005148, allocations: 0 / 0.8192 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.461e-05/0.005172, allocations: 31.67 kB / 0.8193 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.442e-05/0.005207, allocations: 119.2 kB / 0.8194 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.181e-05/0.005238, allocations: 123.1 kB / 0.8195 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.134e-05/0.00528, allocations: 30.05 kB / 0.8195 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/0.005322, allocations: 123.2 kB / 0.8196 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002159/0.005538, allocations: 127.7 kB / 0.8198 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.125e-05/0.005599, allocations: 243 kB / 0.82 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.952e-05/0.005628, allocations: 119.2 kB / 0.8201 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.045e-05/0.005689, allocations: 243.6 kB / 0.8203 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.678e-05/0.005786, allocations: 123.2 kB / 0.8205 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.005814, allocations: 123.1 kB / 0.8206 GB, free: 9.297 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.0001144/0.005928, allocations: 399.5 kB / 0.821 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.005983, allocations: 161.9 kB / 0.8211 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.439e-05/0.006027, allocations: 148 kB / 0.8212 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.707e-05/0.006084, allocations: 272 kB / 0.8215 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.776e-05/0.006142, allocations: 264.8 kB / 0.8218 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.315e-05/0.006205, allocations: 264.1 kB / 0.822 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.006364, allocations: 493.2 kB / 0.8225 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.088e-05/0.006395, allocations: 144.9 kB / 0.8226 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/0.006427, allocations: 158.1 kB / 0.8228 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.069e-05/0.006488, allocations: 264.1 kB / 0.823 GB, free: 6.688 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.41e-05/0.006552, allocations: 268.1 kB / 0.8233 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-05/0.006614, allocations: 276.3 kB / 0.8235 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-05/0.006672, allocations: 264.9 kB / 0.8238 GB, free: 5.875 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.006798, allocations: 447.9 kB / 0.8242 GB, free: 5.41 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.00684, allocations: 161.8 kB / 0.8244 GB, free: 5.246 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.093e-05/0.006901, allocations: 264.1 kB / 0.8246 GB, free: 4.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.198e-05/0.006953, allocations: 146.2 kB / 0.8248 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.007012, allocations: 272 kB / 0.825 GB, free: 4.559 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.007045, allocations: 148.8 kB / 0.8252 GB, free: 4.406 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.78e-05/0.007083, allocations: 120.2 kB / 0.8253 GB, free: 4.289 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007083, allocations: 4 kB / 0.8253 GB, free: 4.285 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001621/0.007245, allocations: 3.984 kB / 0.8253 GB, free: 4.281 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.00022/0.007465, allocations: 228.7 kB / 0.8255 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 4.077e-05/0.007506, allocations: 3.938 kB / 0.8255 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.007508, allocations: 3.438 kB / 0.8255 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.00751, allocations: 4 kB / 0.8255 GB, free: 4.043 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.007797, allocations: 0.7061 MB / 0.8262 GB, free: 3.332 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002102/0.008007, allocations: 213.7 kB / 0.8264 GB, free: 3.094 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.091e-05/0.008038, allocations: 51.36 kB / 0.8265 GB, free: 3.023 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.463e-05/0.008053, allocations: 0 / 0.8265 GB, free: 3.023 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.008086, allocations: 70.2 kB / 0.8265 GB, free: 2.953 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.008086, allocations: 0 / 0.8265 GB, free: 2.953 MB / 0.7761 GB Notification: Performance of Templates: time 0.001928/0.01001, allocations: 388.3 kB / 0.8269 GB, free: 2.625 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.132360958028585]