Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.452/1.452, allocations: 252 MB / 266.9 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001407/0.001407, allocations: 175.9 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.284/2.284, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 99.91 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004037, allocations: 8.406 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2959, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.265/6.561, allocations: 2.19 GB / 3.09 GB, free: 246 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/6.561, allocations: 91.52 kB / 3.09 GB, free: 246 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.07453/6.636, allocations: 28.9 MB / 3.118 GB, free: 243.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.576e-06/6.636, allocations: 1.438 kB / 3.118 GB, free: 243.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001427/6.636, allocations: 19.94 kB / 3.118 GB, free: 243.3 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003029/6.639, allocations: 1.026 MB / 3.119 GB, free: 242.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/6.639, allocations: 7.812 kB / 3.119 GB, free: 242.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005447/6.64, allocations: 100.8 kB / 3.119 GB, free: 242.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/6.641, allocations: 0.565 MB / 3.12 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.761e-05/6.641, allocations: 47.53 kB / 3.12 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/6.641, allocations: 57.81 kB / 3.12 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/6.642, allocations: 0.689 MB / 3.12 GB, free: 242 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/6.642, allocations: 3.938 kB / 3.12 GB, free: 242 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.548e-05/6.642, allocations: 26.12 kB / 3.12 GB, free: 242 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/6.642, allocations: 11.88 kB / 3.12 GB, free: 242 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/6.644, allocations: 0.9186 MB / 3.121 GB, free: 242 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003206/6.647, allocations: 2.353 MB / 3.124 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009001/6.648, allocations: 0.597 MB / 3.124 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.821e-05/6.648, allocations: 29.23 kB / 3.124 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005532/6.648, allocations: 354.1 kB / 3.125 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=61): time 3.076e-06/6.648, allocations: 0 / 3.125 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61): time 0.001229/6.65, allocations: 0.7014 MB / 3.125 GB, free: 240.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/6.65, allocations: 299.6 kB / 3.126 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007735/6.651, allocations: 0.5704 MB / 3.126 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.083e-05/6.651, allocations: 41.06 kB / 3.126 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/6.651, allocations: 326.5 kB / 3.126 GB, free: 240 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/6.651, allocations: 208.8 kB / 3.127 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/6.651, allocations: 9.156 kB / 3.127 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001214/6.651, allocations: 373.9 kB / 3.127 GB, free: 239.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/6.651, allocations: 164.7 kB / 3.127 GB, free: 239.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003892/6.652, allocations: 301.2 kB / 3.127 GB, free: 239.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/6.652, allocations: 208.3 kB / 3.128 GB, free: 239.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/6.652, allocations: 1.281 kB / 3.128 GB, free: 239.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009797/6.653, allocations: 0.5557 MB / 3.128 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/6.653, allocations: 5.938 kB / 3.128 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/6.653, allocations: 1.062 kB / 3.128 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/6.653, allocations: 3.562 kB / 3.128 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005246/6.654, allocations: 117.7 kB / 3.128 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/6.654, allocations: 4 kB / 3.128 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004534/6.654, allocations: 75.64 kB / 3.128 GB, free: 239.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/6.654, allocations: 23.52 kB / 3.128 GB, free: 239.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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.0003919/6.655, allocations: 242.9 kB / 3.129 GB, free: 239.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/6.655, allocations: 69.84 kB / 3.129 GB, free: 239.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/6.657, allocations: 0.7569 MB / 3.129 GB, free: 239.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/6.657, allocations: 7.125 kB / 3.129 GB, free: 239.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/6.657, allocations: 1.312 kB / 3.129 GB, free: 239.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/6.657, allocations: 3.516 kB / 3.129 GB, free: 239.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/6.658, allocations: 0.9478 MB / 3.13 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/6.658, allocations: 0 / 3.13 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003653/6.658, allocations: 124.5 kB / 3.131 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.423e-06/6.658, allocations: 3.875 kB / 3.131 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.65e-05/6.658, allocations: 18.41 kB / 3.131 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/6.658, allocations: 3.906 kB / 3.131 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/6.658, allocations: 3.953 kB / 3.131 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007529/6.659, allocations: 0.6435 MB / 3.131 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002886/6.659, allocations: 265.7 kB / 3.131 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.841e-05/6.659, allocations: 14.59 kB / 3.131 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003762/6.66, allocations: 53.42 kB / 3.132 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-05/6.66, allocations: 49.91 kB / 3.132 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/6.66, allocations: 33.98 kB / 3.132 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004561/6.66, allocations: 476.5 kB / 3.132 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.42e-07/6.66, allocations: 0 / 3.132 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000722/6.661, allocations: 242.6 kB / 3.132 GB, free: 238.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001237/6.662, allocations: 0.5823 MB / 3.133 GB, free: 238 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006711/6.663, allocations: 475.6 kB / 3.133 GB, free: 238 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/6.663, allocations: 0 / 3.133 GB, free: 238 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003016/6.663, allocations: 278.5 kB / 3.134 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008502/6.664, allocations: 213.8 kB / 3.134 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/6.666, allocations: 1.608 MB / 3.135 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/6.667, allocations: 0.9639 MB / 3.136 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0007394/6.668, allocations: 243 kB / 3.137 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/6.668, allocations: 87.86 kB / 3.137 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.803e-06/6.668, allocations: 3.938 kB / 3.137 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.01846/6.686, allocations: 10.56 MB / 3.147 GB, free: 235.4 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches