Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.265/2.265, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.00119/0.001191, allocations: 184.6 kB / 492.3 MB, free: 0.6172 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.738/1.738, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0009264/0.0009268, allocations: 100.5 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.686e-05/3.688e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3216, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.079/1.4, allocations: 149.1 MB / 1.358 GB, free: 18.97 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/1.401, allocations: 84.25 kB / 1.358 GB, free: 18.97 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004122/1.405, allocations: 1.549 MB / 1.36 GB, free: 34.62 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.332e-06/1.405, allocations: 0 / 1.36 GB, free: 34.62 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.745e-06/1.405, allocations: 0 / 1.36 GB, free: 34.62 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.0001739/1.405, allocations: 316.7 kB / 1.36 GB, free: 34.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/1.405, allocations: 11.69 kB / 1.36 GB, free: 34.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.662e-05/1.405, allocations: 77.84 kB / 1.36 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/1.405, allocations: 247.8 kB / 1.36 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/1.405, allocations: 150.6 kB / 1.36 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/1.405, allocations: 154.5 kB / 1.36 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.933e-05/1.406, allocations: 102.6 kB / 1.361 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/1.406, allocations: 83.22 kB / 1.361 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/1.406, allocations: 155.2 kB / 1.361 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/1.406, allocations: 150.6 kB / 1.361 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.432e-05/1.406, allocations: 150.6 kB / 1.361 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/1.406, allocations: 448 kB / 1.362 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.338e-05/1.406, allocations: 177 kB / 1.362 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.37e-05/1.406, allocations: 87.56 kB / 1.362 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/1.406, allocations: 76.08 kB / 1.362 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/1.406, allocations: 105.8 kB / 1.362 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/1.406, allocations: 0 / 1.362 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.929e-05/1.406, allocations: 34.25 kB / 1.362 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/1.406, allocations: 135.4 kB / 1.362 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.278e-05/1.406, allocations: 92.45 kB / 1.362 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/1.406, allocations: 26.5 kB / 1.362 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.461e-05/1.406, allocations: 83.98 kB / 1.362 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/1.406, allocations: 0 / 1.362 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/1.406, allocations: 0 / 1.362 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.407, allocations: 315 kB / 1.363 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.42e-06/1.407, allocations: 4 kB / 1.363 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.319e-05/1.407, allocations: 0.7969 kB / 1.363 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.166e-05/1.407, allocations: 79.09 kB / 1.363 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.292e-05/1.407, allocations: 79.23 kB / 1.363 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.044e-05/1.407, allocations: 28.44 kB / 1.363 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/1.407, allocations: 84.59 kB / 1.363 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/1.407, allocations: 79.97 kB / 1.363 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.352e-05/1.407, allocations: 150.6 kB / 1.363 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.675e-05/1.407, allocations: 87.81 kB / 1.363 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.802e-05/1.407, allocations: 158.2 kB / 1.363 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.586e-05/1.407, allocations: 78.58 kB / 1.363 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/1.407, allocations: 80.02 kB / 1.363 GB, free: 30.49 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.000105/1.407, allocations: 256.1 kB / 1.364 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/1.407, allocations: 113.6 kB / 1.364 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.313e-05/1.407, allocations: 117.3 kB / 1.364 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.752e-05/1.407, allocations: 180.8 kB / 1.364 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.037e-05/1.407, allocations: 180.8 kB / 1.364 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.113e-05/1.408, allocations: 177 kB / 1.364 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/1.408, allocations: 411.6 kB / 1.365 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.617e-05/1.408, allocations: 105.6 kB / 1.365 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.504e-05/1.408, allocations: 105.5 kB / 1.365 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.382e-05/1.408, allocations: 181 kB / 1.365 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.404e-05/1.408, allocations: 181.6 kB / 1.365 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-05/1.408, allocations: 177.5 kB / 1.366 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.601e-05/1.408, allocations: 184.8 kB / 1.366 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/1.408, allocations: 309.1 kB / 1.366 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.338e-05/1.408, allocations: 186 kB / 1.366 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.55e-05/1.409, allocations: 181 kB / 1.366 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.776e-05/1.409, allocations: 106.1 kB / 1.366 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.344e-05/1.409, allocations: 184.9 kB / 1.367 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.306e-05/1.409, allocations: 109.7 kB / 1.367 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.746e-05/1.409, allocations: 80.48 kB / 1.367 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/1.409, allocations: 0 / 1.367 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002885/1.409, allocations: 3.875 kB / 1.367 GB, free: 26.88 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.0002732/1.409, allocations: 186.7 kB / 1.367 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.82e-05/1.409, allocations: 4.047 kB / 1.367 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.41, allocations: 3.781 kB / 1.367 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/1.41, allocations: 0 / 1.367 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/1.41, allocations: 0.5195 MB / 1.368 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002225/1.41, allocations: 130.8 kB / 1.368 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/1.41, allocations: 0.6761 MB / 1.368 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.816e-05/1.41, allocations: 0 / 1.368 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.933e-05/1.411, allocations: 12.14 kB / 1.368 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of SimCode: time 3.326e-06/1.411, allocations: 0 / 1.368 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of Templates: time 0.002188/1.413, allocations: 335 kB / 1.369 GB, free: 25.3 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches