Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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.00129/0.00129, allocations: 81.95 kB / 20.68 MB, free: 3.82 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.0009593/0.0009593, allocations: 181.3 kB / 24.09 MB, free: 424 kB / 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 1.032/1.032, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.929/1.929, allocations: 377.9 MB / 0.624 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 177] 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_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 0.812 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.377e-05/1.484e-05, allocations: 2.312 kB / 0.812 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.004309/0.004324, allocations: 4.332 MB / 0.8162 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1266/0.1309, allocations: 143.8 MB / 0.9566 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000816/0.1317, allocations: 23.81 kB / 0.9567 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004861/0.1322, allocations: 182.3 kB / 0.9568 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.1335, allocations: 0.5359 MB / 0.9574 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.1348, allocations: 0.7985 MB / 0.9581 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0008426/0.1356, allocations: 1.316 MB / 0.9594 GB, free: 10 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004062/0.136, allocations: 331.3 kB / 0.9597 GB, free: 9.66 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000847/0.1369, allocations: 0.6665 MB / 0.9604 GB, free: 8.992 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002735/0.1371, allocations: 319 kB / 0.9607 GB, free: 8.68 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 8.868e-05/0.1372, allocations: 96 kB / 0.9608 GB, free: 8.586 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004323/0.1377, allocations: 399.4 kB / 0.9612 GB, free: 8.195 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.1378, allocations: 255.1 kB / 0.9614 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.138, allocations: 323.2 kB / 0.9617 GB, free: 7.629 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0008212/0.1388, allocations: 1.059 MB / 0.9627 GB, free: 6.566 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1388, allocations: 0 / 0.9627 GB, free: 6.566 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1388, allocations: 4 kB / 0.9627 GB, free: 6.562 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.1389, allocations: 0 / 0.9627 GB, free: 6.562 MB / 0.9167 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.001194/0.1401, allocations: 1.366 MB / 0.9641 GB, free: 5.16 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1401, allocations: 8.031 kB / 0.9641 GB, free: 5.152 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004156/0.1405, allocations: 223.9 kB / 0.9643 GB, free: 4.934 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005894/0.1411, allocations: 0.6636 MB / 0.965 GB, free: 4.246 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.1411, allocations: 62.12 kB / 0.965 GB, free: 4.184 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.1412, allocations: 75.98 kB / 0.9651 GB, free: 4.109 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005799/0.1418, allocations: 0.8006 MB / 0.9659 GB, free: 3.191 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1418, allocations: 0 / 0.9659 GB, free: 3.191 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.816e-05/0.1418, allocations: 36 kB / 0.9659 GB, free: 3.156 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.1418, allocations: 20 kB / 0.9659 GB, free: 3.137 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005273/0.1424, allocations: 0.6212 MB / 0.9665 GB, free: 2.516 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.1443, allocations: 2.41 MB / 0.9689 GB, free: 40 kB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004465/0.1447, allocations: 406.7 kB / 0.9693 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.1448, allocations: 143.4 kB / 0.9694 GB, free: 15.47 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.015e-05/0.1449, allocations: 52.48 kB / 0.9695 GB, free: 15.42 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003102/0.1452, allocations: 366.6 kB / 0.9698 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=78): time 2.144e-06/0.1452, allocations: 0 / 0.9698 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of matching and sorting (n=78): time 0.0006068/0.1458, allocations: 0.5534 MB / 0.9703 GB, free: 14.46 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.788e-05/0.1459, allocations: 251.9 kB / 0.9706 GB, free: 14.16 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/0.1462, allocations: 0.5617 MB / 0.9711 GB, free: 13.58 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.221e-05/0.1463, allocations: 49.7 kB / 0.9712 GB, free: 13.53 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.1465, allocations: 419.8 kB / 0.9716 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.1466, allocations: 261.8 kB / 0.9718 GB, free: 12.85 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.1468, allocations: 180.3 kB / 0.972 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.1469, allocations: 0.5663 MB / 0.9726 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.147, allocations: 89.91 kB / 0.9726 GB, free: 12 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.1473, allocations: 386.5 kB / 0.973 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/0.1476, allocations: 317 kB / 0.9733 GB, free: 11.22 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1476, allocations: 0 / 0.9733 GB, free: 11.22 MB / 0.9323 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.0004858/0.1481, allocations: 0.5164 MB / 0.9738 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1481, allocations: 8 kB / 0.9738 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1481, allocations: 0 / 0.9738 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1481, allocations: 4 kB / 0.9738 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004718/0.1486, allocations: 167.8 kB / 0.974 GB, free: 10.52 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1486, allocations: 11.94 kB / 0.974 GB, free: 10.51 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.1488, allocations: 63.61 kB / 0.9741 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.1488, allocations: 31.97 kB / 0.9741 GB, free: 10.42 MB / 0.9323 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.0001603/0.149, allocations: 211.2 kB / 0.9743 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.7e-05/0.1491, allocations: 115.4 kB / 0.9744 GB, free: 10.09 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006813/0.1497, allocations: 0.6506 MB / 0.975 GB, free: 9.43 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-06/0.1498, allocations: 8 kB / 0.975 GB, free: 9.422 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.1498, allocations: 3.938 kB / 0.975 GB, free: 9.418 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.1498, allocations: 3.984 kB / 0.9751 GB, free: 9.414 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.1509, allocations: 1.393 MB / 0.9764 GB, free: 7.969 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1509, allocations: 0 / 0.9764 GB, free: 7.969 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.1511, allocations: 127.8 kB / 0.9765 GB, free: 7.844 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1511, allocations: 8.031 kB / 0.9765 GB, free: 7.836 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.1512, allocations: 27.97 kB / 0.9766 GB, free: 7.809 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1512, allocations: 0 / 0.9766 GB, free: 7.809 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1512, allocations: 4 kB / 0.9766 GB, free: 7.805 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005339/0.1517, allocations: 0.698 MB / 0.9773 GB, free: 7.082 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.1519, allocations: 183.1 kB / 0.9774 GB, free: 6.902 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.015e-05/0.1519, allocations: 20 kB / 0.9774 GB, free: 6.883 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.1521, allocations: 31.97 kB / 0.9775 GB, free: 6.852 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.567e-05/0.1522, allocations: 64.88 kB / 0.9775 GB, free: 6.785 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.1522, allocations: 31.98 kB / 0.9776 GB, free: 6.754 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000213/0.1524, allocations: 358.9 kB / 0.9779 GB, free: 6.41 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.1524, allocations: 0 / 0.9779 GB, free: 6.41 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004589/0.1529, allocations: 287.2 kB / 0.9782 GB, free: 6.129 MB / 0.9323 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.001149/0.154, allocations: 0.6387 MB / 0.9788 GB, free: 5.656 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0003882/0.1544, allocations: 386.2 kB / 0.9792 GB, free: 5.277 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1544, allocations: 0 / 0.9792 GB, free: 5.277 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.1546, allocations: 223.3 kB / 0.9794 GB, free: 5.059 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006021/0.1552, allocations: 297 kB / 0.9797 GB, free: 4.789 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.1569, allocations: 1.33 MB / 0.981 GB, free: 3.41 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.1571, allocations: 173.9 kB / 0.9811 GB, free: 3.219 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003071/0.1574, allocations: 174.6 kB / 0.9813 GB, free: 3.043 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004703/0.1579, allocations: 346 kB / 0.9816 GB, free: 2.703 MB / 0.9323 GB Notification: Performance of SimCode: time 8.22e-07/0.1579, allocations: 0 / 0.9816 GB, free: 2.703 MB / 0.9323 GB Notification: Performance of Templates: time 0.01583/0.1737, allocations: 14.43 MB / 0.9957 GB, free: 4.605 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.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.76060316292569]