Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.223/2.223, allocations: 393.5 MB / 408.4 MB, free: 10.91 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.001444/0.001444, allocations: 198.3 kB / 0.4902 GB, free: 2.082 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.651/1.651, allocations: 223.1 MB / 0.7992 GB, free: 15.57 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.001009/0.001009, allocations: 97.94 kB / 0.9396 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003984/0.0003985, allocations: 10 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3069, allocations: 143 MB / 1.229 GB, free: 85.43 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1988/0.5058, allocations: 150.2 MB / 1.376 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.5061, allocations: 79.95 kB / 1.376 GB, free: 15 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.005997/0.5121, allocations: 2.302 MB / 1.378 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5122, allocations: 0 / 1.378 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.5122, allocations: 4 kB / 1.378 GB, free: 12.69 MB / 0.8855 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.000335/0.5125, allocations: 327.4 kB / 1.378 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.5126, allocations: 8.562 kB / 1.378 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.798e-05/0.5127, allocations: 87.17 kB / 1.379 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.5129, allocations: 238.3 kB / 1.379 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.413e-05/0.5129, allocations: 150.6 kB / 1.379 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.732e-05/0.513, allocations: 154.6 kB / 1.379 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.537e-05/0.5131, allocations: 109 kB / 1.379 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/0.5131, allocations: 75.28 kB / 1.379 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.18e-05/0.5132, allocations: 150.6 kB / 1.379 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-05/0.5133, allocations: 154.6 kB / 1.38 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.932e-05/0.5133, allocations: 158.5 kB / 1.38 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.5137, allocations: 457.9 kB / 1.38 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 9.237e-05/0.5138, allocations: 169.1 kB / 1.38 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.5139, allocations: 75.28 kB / 1.38 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.687e-05/0.5139, allocations: 109.8 kB / 1.38 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.673e-06/0.5139, allocations: 0 / 1.38 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 9.205e-05/0.514, allocations: 33.69 kB / 1.381 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.678e-05/0.5141, allocations: 130.7 kB / 1.381 GB, free: 9.965 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.5143, allocations: 97 kB / 1.381 GB, free: 9.863 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.5143, allocations: 25.7 kB / 1.381 GB, free: 9.832 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.868e-05/0.5144, allocations: 92.11 kB / 1.381 GB, free: 9.738 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-06/0.5144, allocations: 0 / 1.381 GB, free: 9.738 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-06/0.5144, allocations: 0 / 1.381 GB, free: 9.738 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.5145, allocations: 310.8 kB / 1.381 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.192e-05/0.5145, allocations: 4 kB / 1.381 GB, free: 9.422 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.188e-05/0.5146, allocations: 15.98 kB / 1.381 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.654e-05/0.5146, allocations: 7.953 kB / 1.381 GB, free: 9.398 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5146, allocations: 0 / 1.381 GB, free: 9.398 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000127/0.5148, allocations: 45.55 kB / 1.381 GB, free: 9.348 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.5148, allocations: 4 kB / 1.381 GB, free: 9.344 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5148, allocations: 3.938 kB / 1.381 GB, free: 9.34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.5148, allocations: 3.984 kB / 1.381 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.246e-06/0.5148, allocations: 4.25 kB / 1.381 GB, free: 9.332 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.5148, allocations: 128 / 1.381 GB, free: 9.332 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.116e-05/0.5149, allocations: 11.94 kB / 1.381 GB, free: 9.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.5149, allocations: 0 / 1.381 GB, free: 9.32 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.5151, allocations: 189.1 kB / 1.381 GB, free: 9.125 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.747e-05/0.5151, allocations: 101 kB / 1.382 GB, free: 9.02 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.36e-05/0.5152, allocations: 124.2 kB / 1.382 GB, free: 8.895 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-05/0.5153, allocations: 176.3 kB / 1.382 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.797e-05/0.5154, allocations: 184.2 kB / 1.382 GB, free: 8.527 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.941e-05/0.5154, allocations: 176.3 kB / 1.382 GB, free: 8.348 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.5157, allocations: 409.2 kB / 1.383 GB, free: 7.891 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.66e-05/0.5158, allocations: 104.9 kB / 1.383 GB, free: 7.781 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.778e-05/0.5158, allocations: 105 kB / 1.383 GB, free: 7.672 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.648e-05/0.5159, allocations: 188.2 kB / 1.383 GB, free: 7.48 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-05/0.516, allocations: 176.3 kB / 1.383 GB, free: 7.301 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.475e-05/0.5161, allocations: 184.2 kB / 1.383 GB, free: 7.113 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.853e-05/0.5161, allocations: 180.3 kB / 1.383 GB, free: 6.93 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.5163, allocations: 315.7 kB / 1.384 GB, free: 6.598 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.783e-05/0.5164, allocations: 186 kB / 1.384 GB, free: 6.391 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.931e-05/0.5165, allocations: 184.1 kB / 1.384 GB, free: 6.203 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.018e-05/0.5166, allocations: 105 kB / 1.384 GB, free: 6.094 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.427e-05/0.5167, allocations: 180.2 kB / 1.384 GB, free: 5.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/0.5167, allocations: 105.2 kB / 1.384 GB, free: 5.801 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.441e-05/0.5168, allocations: 87.28 kB / 1.385 GB, free: 5.715 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5168, allocations: 0 / 1.385 GB, free: 5.715 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000229/0.517, allocations: 4 kB / 1.385 GB, free: 5.711 MB / 0.8855 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 (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.0002651/0.5173, allocations: 184.3 kB / 1.385 GB, free: 5.52 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.011e-05/0.5174, allocations: 4 kB / 1.385 GB, free: 5.516 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5174, allocations: 0 / 1.385 GB, free: 5.516 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.097e-06/0.5174, allocations: 4.016 kB / 1.385 GB, free: 5.512 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.5178, allocations: 0.5263 MB / 1.385 GB, free: 4.98 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003068/0.5181, allocations: 175.9 kB / 1.385 GB, free: 4.781 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.5185, allocations: 0.677 MB / 1.386 GB, free: 4.078 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.342e-05/0.5185, allocations: 4 kB / 1.386 GB, free: 4.074 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.39e-05/0.5185, allocations: 11.44 kB / 1.386 GB, free: 4.062 MB / 0.8855 GB Notification: Performance of SimCode: time 3.1e-07/0.5185, allocations: 0 / 1.386 GB, free: 4.062 MB / 0.8855 GB Notification: Performance of Templates: time 0.002578/0.5211, allocations: 400.6 kB / 1.386 GB, free: 3.684 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches