Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.368/2.368, allocations: 390.5 MB / 398 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 176.9 kB / 491.2 MB, free: 1.57 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.798/1.798, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 99.84 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.558e-05/2.56e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4515/0.4515, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.138/1.59, allocations: 149.2 MB / 1.358 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/1.59, allocations: 75.31 kB / 1.358 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004142/1.594, allocations: 1.445 MB / 1.359 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.994e-06/1.594, allocations: 0.75 kB / 1.359 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.888e-06/1.594, allocations: 0 / 1.359 GB, free: 33.2 MB / 0.8386 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.0002487/1.595, allocations: 324.7 kB / 1.36 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/1.595, allocations: 8.406 kB / 1.36 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.169e-05/1.595, allocations: 79.72 kB / 1.36 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/1.595, allocations: 245.1 kB / 1.36 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.753e-05/1.595, allocations: 154.6 kB / 1.36 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.341e-05/1.595, allocations: 154.4 kB / 1.36 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.679e-05/1.595, allocations: 155.9 kB / 1.361 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.491e-05/1.595, allocations: 101 kB / 1.361 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/1.595, allocations: 80.67 kB / 1.361 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.714e-05/1.595, allocations: 154.6 kB / 1.361 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.544e-05/1.596, allocations: 150.6 kB / 1.361 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/1.596, allocations: 435 kB / 1.361 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/1.596, allocations: 165.1 kB / 1.362 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.421e-05/1.596, allocations: 85.59 kB / 1.362 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.74e-05/1.596, allocations: 75.28 kB / 1.362 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.16e-05/1.596, allocations: 112.8 kB / 1.362 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/1.596, allocations: 0 / 1.362 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.972e-05/1.596, allocations: 30.77 kB / 1.362 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/1.596, allocations: 51.41 kB / 1.362 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/1.596, allocations: 90.39 kB / 1.362 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/1.596, allocations: 33.58 kB / 1.362 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/1.596, allocations: 84.02 kB / 1.362 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-06/1.597, allocations: 0.5625 kB / 1.362 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-07/1.597, allocations: 0 / 1.362 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001471/1.597, allocations: 312.4 kB / 1.362 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-06/1.597, allocations: 0 / 1.362 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.041e-05/1.597, allocations: 3.625 kB / 1.362 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.817e-05/1.597, allocations: 75.28 kB / 1.363 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.49e-05/1.597, allocations: 83.25 kB / 1.363 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.473e-05/1.597, allocations: 34.81 kB / 1.363 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.177e-05/1.597, allocations: 79 kB / 1.363 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-05/1.597, allocations: 79.92 kB / 1.363 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-05/1.597, allocations: 152.2 kB / 1.363 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.365e-05/1.597, allocations: 79.09 kB / 1.363 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.45e-05/1.597, allocations: 165.5 kB / 1.363 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/1.597, allocations: 81.11 kB / 1.363 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.496e-05/1.597, allocations: 79 kB / 1.363 GB, free: 29.17 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001409/1.597, allocations: 252.2 kB / 1.364 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.059e-05/1.598, allocations: 111 kB / 1.364 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.731e-05/1.598, allocations: 113.6 kB / 1.364 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.429e-05/1.598, allocations: 183 kB / 1.364 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.676e-05/1.598, allocations: 180.2 kB / 1.364 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-05/1.598, allocations: 177.7 kB / 1.364 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/1.598, allocations: 384.2 kB / 1.365 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-05/1.598, allocations: 105.7 kB / 1.365 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.283e-05/1.598, allocations: 101 kB / 1.365 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.552e-05/1.598, allocations: 185.7 kB / 1.365 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.811e-05/1.598, allocations: 184.2 kB / 1.365 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.766e-05/1.598, allocations: 178.9 kB / 1.365 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.128e-05/1.598, allocations: 177.1 kB / 1.366 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/1.599, allocations: 316.6 kB / 1.366 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.872e-05/1.599, allocations: 184.8 kB / 1.366 GB, free: 26.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.739e-05/1.599, allocations: 180.2 kB / 1.366 GB, free: 26.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-05/1.599, allocations: 106.4 kB / 1.366 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/1.599, allocations: 180 kB / 1.366 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/1.599, allocations: 110.2 kB / 1.367 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.04e-05/1.599, allocations: 84.56 kB / 1.367 GB, free: 25.6 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.599, allocations: 0 / 1.367 GB, free: 25.6 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002953/1.599, allocations: 0 / 1.367 GB, free: 25.6 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000249/1.6, allocations: 184 kB / 1.367 GB, free: 25.44 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 3.839e-05/1.6, allocations: 0 / 1.367 GB, free: 25.44 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.6, allocations: 0 / 1.367 GB, free: 25.44 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/1.6, allocations: 0 / 1.367 GB, free: 25.44 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/1.6, allocations: 0.5272 MB / 1.367 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002267/1.6, allocations: 128.6 kB / 1.367 GB, free: 24.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/1.601, allocations: 0.6806 MB / 1.368 GB, free: 24.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.776e-05/1.601, allocations: 0 / 1.368 GB, free: 24.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.375e-05/1.601, allocations: 8.656 kB / 1.368 GB, free: 24.06 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.601, allocations: 4 kB / 1.368 GB, free: 24.06 MB / 0.8386 GB Notification: Performance of Templates: time 0.002314/1.603, allocations: 324.2 kB / 1.368 GB, free: 24.02 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches