Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001347/0.001347, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009668/0.0009668, allocations: 165 kB / 23.82 MB, free: 0.75 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.9106/0.9106, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.839/1.839, allocations: 377.8 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.8115 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.005e-05, allocations: 6.312 kB / 0.8115 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.004522/0.004542, allocations: 4.43 MB / 0.8158 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1261/0.1307, allocations: 146.5 MB / 0.9589 GB, free: 9.219 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006195/0.1313, allocations: 23.81 kB / 0.9589 GB, free: 9.195 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004994/0.1318, allocations: 190.2 kB / 0.9591 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.1331, allocations: 0.532 MB / 0.9596 GB, free: 8.473 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.1344, allocations: 0.7907 MB / 0.9604 GB, free: 7.68 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001054/0.1354, allocations: 1.327 MB / 0.9617 GB, free: 6.344 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004334/0.1359, allocations: 319.4 kB / 0.962 GB, free: 6.012 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007052/0.1366, allocations: 0.6704 MB / 0.9626 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003106/0.1369, allocations: 327 kB / 0.9629 GB, free: 5.02 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 9.456e-05/0.137, allocations: 92 kB / 0.963 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005436/0.1375, allocations: 399.4 kB / 0.9634 GB, free: 4.539 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.1377, allocations: 259.1 kB / 0.9637 GB, free: 4.285 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002157/0.1379, allocations: 319.1 kB / 0.964 GB, free: 3.973 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009622/0.1389, allocations: 1.066 MB / 0.965 GB, free: 2.902 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1389, allocations: 4 kB / 0.965 GB, free: 2.898 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1389, allocations: 0 / 0.965 GB, free: 2.898 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.938e-06/0.1389, allocations: 0 / 0.965 GB, free: 2.898 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.001349/0.1403, allocations: 1.355 MB / 0.9663 GB, free: 1.504 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.1403, allocations: 12.03 kB / 0.9663 GB, free: 1.492 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004556/0.1407, allocations: 219.9 kB / 0.9666 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006656/0.1414, allocations: 0.6675 MB / 0.9672 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.56e-05/0.1414, allocations: 62.06 kB / 0.9673 GB, free: 0.5273 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.353e-05/0.1415, allocations: 76 kB / 0.9673 GB, free: 464 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007484/0.1423, allocations: 0.8399 MB / 0.9682 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.1423, allocations: 0 / 0.9682 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.656e-05/0.1423, allocations: 35.98 kB / 0.9682 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.1423, allocations: 20 kB / 0.9682 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007158/0.143, allocations: 0.7176 MB / 0.9689 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/0.1452, allocations: 2.505 MB / 0.9714 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006038/0.1458, allocations: 444.1 kB / 0.9718 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.146, allocations: 168.5 kB / 0.9719 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.787e-05/0.146, allocations: 36.61 kB / 0.972 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000413/0.1464, allocations: 390.7 kB / 0.9723 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=78): time 2.124e-06/0.1464, allocations: 0 / 0.9723 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of matching and sorting (n=78): time 0.0008377/0.1473, allocations: 0.6184 MB / 0.973 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.561e-05/0.1474, allocations: 248 kB / 0.9732 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004426/0.1478, allocations: 0.5622 MB / 0.9737 GB, free: 9.562 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.826e-05/0.1479, allocations: 57.62 kB / 0.9738 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.1481, allocations: 415.8 kB / 0.9742 GB, free: 9.086 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.1482, allocations: 253.9 kB / 0.9744 GB, free: 8.836 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.1484, allocations: 184.4 kB / 0.9746 GB, free: 8.645 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1485, allocations: 0.5547 MB / 0.9751 GB, free: 8.078 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.1487, allocations: 121.9 kB / 0.9753 GB, free: 7.961 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/0.149, allocations: 410.5 kB / 0.9757 GB, free: 7.492 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004351/0.1495, allocations: 361 kB / 0.976 GB, free: 7.117 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.1495, allocations: 4 kB / 0.976 GB, free: 7.113 MB / 0.8855 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.0006472/0.1501, allocations: 0.5595 MB / 0.9765 GB, free: 6.551 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1501, allocations: 4 kB / 0.9766 GB, free: 6.547 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1501, allocations: 4 kB / 0.9766 GB, free: 6.543 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1501, allocations: 4 kB / 0.9766 GB, free: 6.539 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004707/0.1506, allocations: 171.7 kB / 0.9767 GB, free: 6.371 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.1506, allocations: 4 kB / 0.9767 GB, free: 6.367 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.151, allocations: 79.48 kB / 0.9768 GB, free: 6.289 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/0.151, allocations: 31.98 kB / 0.9768 GB, free: 6.258 MB / 0.8855 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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.0002322/0.1513, allocations: 219.2 kB / 0.977 GB, free: 6.031 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.1514, allocations: 107.5 kB / 0.9771 GB, free: 5.926 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/0.1527, allocations: 0.6896 MB / 0.9778 GB, free: 5.219 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.1527, allocations: 11.98 kB / 0.9778 GB, free: 5.207 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1527, allocations: 0 / 0.9778 GB, free: 5.207 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.1527, allocations: 7.969 kB / 0.9778 GB, free: 5.199 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.1544, allocations: 1.53 MB / 0.9793 GB, free: 3.609 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.1544, allocations: 4 kB / 0.9793 GB, free: 3.605 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.1546, allocations: 127.8 kB / 0.9795 GB, free: 3.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1546, allocations: 4 kB / 0.9795 GB, free: 3.477 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.1547, allocations: 31.97 kB / 0.9795 GB, free: 3.445 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.1547, allocations: 4 kB / 0.9795 GB, free: 3.441 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1547, allocations: 0 / 0.9795 GB, free: 3.441 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006706/0.1554, allocations: 0.7488 MB / 0.9802 GB, free: 2.672 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.1555, allocations: 171.2 kB / 0.9804 GB, free: 2.504 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.001e-05/0.1556, allocations: 24 kB / 0.9804 GB, free: 2.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.1558, allocations: 35.97 kB / 0.9804 GB, free: 2.445 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.403e-05/0.1559, allocations: 68.81 kB / 0.9805 GB, free: 2.375 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.1559, allocations: 35.92 kB / 0.9805 GB, free: 2.34 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002694/0.1562, allocations: 379 kB / 0.9809 GB, free: 1.973 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.1562, allocations: 0 / 0.9809 GB, free: 1.973 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004856/0.1567, allocations: 291.2 kB / 0.9812 GB, free: 1.688 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: 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 (89): * Single equations (assignments): 79 * 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.001188/0.1579, allocations: 0.6229 MB / 0.9818 GB, free: 1.234 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005251/0.1584, allocations: 430.2 kB / 0.9822 GB, free: 0.8125 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1584, allocations: 0 / 0.9822 GB, free: 0.8125 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.1586, allocations: 243.6 kB / 0.9824 GB, free: 0.5703 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006292/0.1593, allocations: 312.5 kB / 0.9827 GB, free: 300 kB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.161, allocations: 1.357 MB / 0.9841 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.1611, allocations: 173.9 kB / 0.9842 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000386/0.1615, allocations: 242.5 kB / 0.9845 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.1616, allocations: 108.5 kB / 0.9846 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of SimCode: time 5.41e-07/0.1616, allocations: 0 / 0.9846 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of Templates: time 0.01552/0.1772, allocations: 14.13 MB / 0.9984 GB, free: 496 kB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.514757075347006]