Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008856/0.0008856, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009388/0.0009388, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9234/0.9234, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.389/2.389, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 3.938 kB / 0.8385 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.289e-05/1.442e-05, allocations: 2.312 kB / 0.8385 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.004243/0.004258, allocations: 4.342 MB / 0.8428 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1288/0.133, allocations: 146 MB / 0.9853 GB, free: 7.379 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006725/0.1337, allocations: 23.81 kB / 0.9853 GB, free: 7.355 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004886/0.1342, allocations: 182.3 kB / 0.9855 GB, free: 7.176 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001358/0.1355, allocations: 0.5475 MB / 0.9861 GB, free: 6.625 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.1369, allocations: 0.7946 MB / 0.9868 GB, free: 5.828 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001096/0.138, allocations: 1.316 MB / 0.9881 GB, free: 4.508 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004206/0.1384, allocations: 339.2 kB / 0.9884 GB, free: 4.148 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007173/0.1391, allocations: 0.6587 MB / 0.9891 GB, free: 3.488 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000336/0.1394, allocations: 319 kB / 0.9894 GB, free: 3.176 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 8.617e-05/0.1395, allocations: 95.98 kB / 0.9895 GB, free: 3.082 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005122/0.14, allocations: 403.4 kB / 0.9899 GB, free: 2.688 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.1402, allocations: 259.1 kB / 0.9901 GB, free: 2.434 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.1404, allocations: 319.1 kB / 0.9904 GB, free: 2.121 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.1416, allocations: 1.055 MB / 0.9914 GB, free: 1.062 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1416, allocations: 0 / 0.9914 GB, free: 1.062 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.32e-07/0.1416, allocations: 0 / 0.9914 GB, free: 1.062 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.1416, allocations: 4 kB / 0.9914 GB, free: 1.059 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.00126/0.1428, allocations: 1.218 MB / 0.9926 GB, free: 15.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1429, allocations: 8.625 kB / 0.9926 GB, free: 15.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004278/0.1433, allocations: 192.3 kB / 0.9928 GB, free: 15.61 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006314/0.1439, allocations: 0.5466 MB / 0.9934 GB, free: 15.04 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.144, allocations: 62.12 kB / 0.9934 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.31e-05/0.144, allocations: 71.98 kB / 0.9935 GB, free: 14.91 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000549/0.1446, allocations: 0.7726 MB / 0.9942 GB, free: 14.04 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.1446, allocations: 4 kB / 0.9942 GB, free: 14.03 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.1446, allocations: 31.98 kB / 0.9943 GB, free: 14 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.1446, allocations: 16 kB / 0.9943 GB, free: 13.98 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005121/0.1452, allocations: 0.5353 MB / 0.9948 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.1468, allocations: 1.725 MB / 0.9965 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.1473, allocations: 344.6 kB / 0.9968 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.1474, allocations: 111.6 kB / 0.9969 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.682e-05/0.1474, allocations: 40.55 kB / 0.997 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002893/0.1477, allocations: 359.1 kB / 0.9973 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=78): time 2.044e-06/0.1477, allocations: 0 / 0.9973 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of matching and sorting (n=78): time 0.0005808/0.1483, allocations: 385.8 kB / 0.9977 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.461e-05/0.1484, allocations: 256.1 kB / 0.9979 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003393/0.1487, allocations: 0.4938 MB / 0.9984 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/0.1488, allocations: 49.7 kB / 0.9985 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.1489, allocations: 298.3 kB / 0.9987 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.149, allocations: 257.8 kB / 0.999 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.1491, allocations: 162.5 kB / 0.9991 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1492, allocations: 382.6 kB / 0.9995 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.1493, allocations: 84.77 kB / 0.9996 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.1495, allocations: 347.8 kB / 0.9999 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.1498, allocations: 301.6 kB / 1 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1498, allocations: 0 / 1 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.0003758/0.1502, allocations: 382.1 kB / 1.001 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1502, allocations: 4 kB / 1.001 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1502, allocations: 0 / 1.001 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1502, allocations: 8 kB / 1.001 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003099/0.1506, allocations: 163.9 kB / 1.001 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.1506, allocations: 4 kB / 1.001 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.1508, allocations: 73.7 kB / 1.001 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.1508, allocations: 23.97 kB / 1.001 GB, free: 6.98 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000161/0.151, allocations: 175.2 kB / 1.001 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.331e-05/0.151, allocations: 75.86 kB / 1.001 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000554/0.1516, allocations: 488.1 kB / 1.002 GB, free: 6.242 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.351e-06/0.1516, allocations: 11.98 kB / 1.002 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.1516, allocations: 4 kB / 1.002 GB, free: 6.227 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.1516, allocations: 3.984 kB / 1.002 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.1526, allocations: 1.042 MB / 1.003 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1526, allocations: 4 kB / 1.003 GB, free: 5.133 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.1528, allocations: 119.8 kB / 1.003 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.1528, allocations: 0 / 1.003 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.1529, allocations: 15.98 kB / 1.003 GB, free: 5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1529, allocations: 4 kB / 1.003 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1529, allocations: 0 / 1.003 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.1532, allocations: 478 kB / 1.003 GB, free: 4.508 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/0.1534, allocations: 139.2 kB / 1.003 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.765e-05/0.1535, allocations: 28.03 kB / 1.003 GB, free: 4.344 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.1537, allocations: 31.97 kB / 1.003 GB, free: 4.312 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.925e-05/0.1537, allocations: 56.89 kB / 1.003 GB, free: 4.258 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.1538, allocations: 23.97 kB / 1.003 GB, free: 4.234 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001825/0.1539, allocations: 239.4 kB / 1.004 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.1539, allocations: 4 kB / 1.004 GB, free: 4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0004532/0.1544, allocations: 291.2 kB / 1.004 GB, free: 3.715 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001421/0.1558, allocations: 0.765 MB / 1.005 GB, free: 3.219 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005147/0.1563, allocations: 343.4 kB / 1.005 GB, free: 2.883 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.1563, allocations: 4 kB / 1.005 GB, free: 2.879 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.1565, allocations: 200.5 kB / 1.005 GB, free: 2.684 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/0.1571, allocations: 282.3 kB / 1.005 GB, free: 2.422 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.1589, allocations: 1.309 MB / 1.007 GB, free: 1.074 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.159, allocations: 177.9 kB / 1.007 GB, free: 0.8828 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0004569/0.1595, allocations: 182.5 kB / 1.007 GB, free: 0.6992 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004365/0.1599, allocations: 287.1 kB / 1.007 GB, free: 428 kB / 0.9636 GB Notification: Performance of SimCode: time 1.082e-06/0.1599, allocations: 0 / 1.007 GB, free: 428 kB / 0.9636 GB Notification: Performance of Templates: time 0.01609/0.176, allocations: 14.43 MB / 1.021 GB, free: 2.305 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.658408222720027]