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.24/2.24, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001036/0.001036, allocations: 183.5 kB / 0.4902 GB, free: 2.254 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.508/1.508, allocations: 223.2 MB / 0.7992 GB, free: 14.76 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.0008954/0.0008955, allocations: 100.1 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005022/0.0005024, allocations: 6.875 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3312, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1917/0.523, allocations: 149.9 MB / 1.376 GB, free: 3.605 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.5233, allocations: 83.95 kB / 1.376 GB, free: 3.523 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003768/0.5271, allocations: 1.718 MB / 1.377 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.927e-06/0.5271, allocations: 0 / 1.377 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.393e-06/0.5271, allocations: 3.938 kB / 1.377 GB, free: 1.801 MB / 0.8698 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.0002898/0.5274, allocations: 327.4 kB / 1.378 GB, free: 1.434 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.5275, allocations: 12.56 kB / 1.378 GB, free: 1.422 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.014e-05/0.5275, allocations: 75.28 kB / 1.378 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.5277, allocations: 246.3 kB / 1.378 GB, free: 1.066 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.029e-05/0.5278, allocations: 154.5 kB / 1.378 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.427e-05/0.5278, allocations: 150.6 kB / 1.378 GB, free: 0.7656 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.82e-05/0.5279, allocations: 105 kB / 1.378 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/0.528, allocations: 83.28 kB / 1.378 GB, free: 0.5742 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-05/0.528, allocations: 150.6 kB / 1.379 GB, free: 436 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.664e-05/0.5281, allocations: 154.6 kB / 1.379 GB, free: 280 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.12e-05/0.5282, allocations: 150.6 kB / 1.379 GB, free: 128 kB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002958/0.5285, allocations: 453.8 kB / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.211e-05/0.5285, allocations: 173.1 kB / 1.38 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.5286, allocations: 75.28 kB / 1.38 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.5286, allocations: 109.8 kB / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.5286, allocations: 0 / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 7.382e-05/0.5287, allocations: 33.64 kB / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.5288, allocations: 130.7 kB / 1.38 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.351e-05/0.5289, allocations: 93 kB / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.5289, allocations: 25.7 kB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.529, allocations: 80.14 kB / 1.38 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-06/0.529, allocations: 0 / 1.38 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-07/0.529, allocations: 0 / 1.38 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.5291, allocations: 318.8 kB / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-06/0.5291, allocations: 0 / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.235e-05/0.5291, allocations: 80 / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.183e-05/0.5291, allocations: 87.27 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.15e-05/0.5292, allocations: 75.28 kB / 1.381 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.62e-05/0.5292, allocations: 33.64 kB / 1.381 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/0.5293, allocations: 91.16 kB / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/0.5293, allocations: 79.28 kB / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.514e-05/0.5294, allocations: 154.5 kB / 1.381 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.265e-05/0.5294, allocations: 79.22 kB / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.947e-05/0.5295, allocations: 154.6 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.357e-05/0.5296, allocations: 83.22 kB / 1.381 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.5296, allocations: 75.28 kB / 1.381 GB, free: 13.64 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 (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.0001214/0.5297, allocations: 264.4 kB / 1.381 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/0.5298, allocations: 112.9 kB / 1.382 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.889e-05/0.5298, allocations: 115.8 kB / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.86e-05/0.5299, allocations: 176.3 kB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.757e-05/0.53, allocations: 184.2 kB / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.977e-05/0.53, allocations: 176.3 kB / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.5303, allocations: 401.2 kB / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.524e-05/0.5303, allocations: 116.9 kB / 1.383 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.257e-05/0.5303, allocations: 101 kB / 1.383 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-05/0.5304, allocations: 184.2 kB / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.47e-05/0.5305, allocations: 184.3 kB / 1.383 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-05/0.5305, allocations: 184.6 kB / 1.383 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.215e-05/0.5306, allocations: 180.2 kB / 1.383 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.5307, allocations: 315.8 kB / 1.384 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.99e-05/0.5308, allocations: 182 kB / 1.384 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.666e-05/0.5309, allocations: 180.3 kB / 1.384 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.442e-05/0.531, allocations: 104.9 kB / 1.384 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.5311, allocations: 184.2 kB / 1.384 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/0.5311, allocations: 104.9 kB / 1.385 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.447e-05/0.5312, allocations: 87.45 kB / 1.385 GB, free: 9.961 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5312, allocations: 0 / 1.385 GB, free: 9.961 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002516/0.5314, allocations: 4 kB / 1.385 GB, free: 9.957 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.0002648/0.5317, allocations: 188 kB / 1.385 GB, free: 9.77 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 4.945e-05/0.5318, allocations: 8 kB / 1.385 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5318, allocations: 0 / 1.385 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.5318, allocations: 0 / 1.385 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.5321, allocations: 0.5224 MB / 1.385 GB, free: 9.234 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.5324, allocations: 168.1 kB / 1.385 GB, free: 9.039 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.5327, allocations: 0.677 MB / 1.386 GB, free: 8.336 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.798e-05/0.5327, allocations: 7.938 kB / 1.386 GB, free: 8.328 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.5328, allocations: 7.438 kB / 1.386 GB, free: 8.32 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.5328, allocations: 0 / 1.386 GB, free: 8.32 MB / 0.8855 GB Notification: Performance of Templates: time 0.002315/0.5351, allocations: 314.5 kB / 1.386 GB, free: 8.043 MB / 0.8855 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