Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009683/0.0009685, allocations: 96.73 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001174, allocations: 171.6 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 223.2 MB / 240.5 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6431/0.6431, allocations: 113.8 MB / 405.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002977, allocations: 12 kB / 493 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.128, allocations: 77.15 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001313/0.1293, allocations: 1.173 MB / 0.558 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007608/0.1301, allocations: 401 kB / 0.5584 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.021e-05/0.1302, allocations: 0 / 0.5584 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.299e-05/0.1302, allocations: 11.86 kB / 0.5584 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.855e-05/0.1303, allocations: 15.98 kB / 0.5584 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005541/0.1309, allocations: 211 kB / 0.5586 GB, free: 9.828 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.1311, allocations: 163.7 kB / 0.5587 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.783e-05/0.1311, allocations: 8 kB / 0.5587 GB, free: 9.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.1314, allocations: 163.7 kB / 0.5589 GB, free: 9.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.1316, allocations: 135.7 kB / 0.559 GB, free: 9.367 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.717e-05/0.1316, allocations: 8 kB / 0.559 GB, free: 9.359 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.581e-05/0.1317, allocations: 12 kB / 0.5591 GB, free: 9.348 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.485e-05/0.1318, allocations: 75.78 kB / 0.5591 GB, free: 9.273 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.12e-05/0.1319, allocations: 81.5 kB / 0.5592 GB, free: 9.188 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.132, allocations: 199.9 kB / 0.5594 GB, free: 8.992 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.1321, allocations: 0 / 0.5594 GB, free: 8.992 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1321, allocations: 4 kB / 0.5594 GB, free: 8.988 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.1321, allocations: 0 / 0.5594 GB, free: 8.988 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008249/0.1329, allocations: 0.6621 MB / 0.56 GB, free: 8.242 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.1329, allocations: 12.02 kB / 0.5601 GB, free: 8.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.277e-05/0.133, allocations: 31.72 kB / 0.5601 GB, free: 8.199 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.1333, allocations: 254.5 kB / 0.5603 GB, free: 7.914 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.16e-05/0.1334, allocations: 15.98 kB / 0.5603 GB, free: 7.898 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.59e-05/0.1335, allocations: 12 kB / 0.5604 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009511/0.1344, allocations: 217.3 kB / 0.5606 GB, free: 7.668 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.1344, allocations: 3.984 kB / 0.5606 GB, free: 7.664 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.1345, allocations: 4 kB / 0.5606 GB, free: 7.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.1345, allocations: 4 kB / 0.5606 GB, free: 7.656 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007632/0.1352, allocations: 103.9 kB / 0.5607 GB, free: 7.555 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.1356, allocations: 313.4 kB / 0.561 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.1366, allocations: 194.4 kB / 0.5612 GB, free: 7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.1366, allocations: 8 kB / 0.5612 GB, free: 6.992 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008933/0.1375, allocations: 227.9 kB / 0.5614 GB, free: 6.758 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.1375, allocations: 0 / 0.5614 GB, free: 6.758 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.00246/0.14, allocations: 474.8 kB / 0.5618 GB, free: 6.289 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.1401, allocations: 67.39 kB / 0.5619 GB, free: 6.211 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.1403, allocations: 287 kB / 0.5622 GB, free: 5.926 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/0.1404, allocations: 33.7 kB / 0.5622 GB, free: 5.887 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.488e-05/0.1404, allocations: 97.12 kB / 0.5623 GB, free: 5.789 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.1405, allocations: 31.53 kB / 0.5623 GB, free: 5.758 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.1405, allocations: 7.984 kB / 0.5623 GB, free: 5.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1406, allocations: 326.8 kB / 0.5626 GB, free: 5.422 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.1408, allocations: 75.95 kB / 0.5627 GB, free: 5.348 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.141, allocations: 153.3 kB / 0.5629 GB, free: 5.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.1413, allocations: 147.4 kB / 0.563 GB, free: 5.023 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1413, allocations: 7.938 kB / 0.563 GB, free: 5.016 MB / 430.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005903/0.1419, allocations: 394.3 kB / 0.5634 GB, free: 4.613 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.051e-05/0.1419, allocations: 71.39 kB / 0.5635 GB, free: 4.531 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.142, allocations: 4 kB / 0.5635 GB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.142, allocations: 3.938 kB / 0.5635 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.1421, allocations: 19.98 kB / 0.5635 GB, free: 4.504 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.1421, allocations: 7.984 kB / 0.5635 GB, free: 4.496 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000487/0.1426, allocations: 70.52 kB / 0.5636 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.719e-05/0.1427, allocations: 39.94 kB / 0.5636 GB, free: 4.391 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.000167/0.1429, allocations: 172 kB / 0.5638 GB, free: 4.215 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.1429, allocations: 27.72 kB / 0.5638 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.683e-05/0.143, allocations: 26.3 kB / 0.5638 GB, free: 4.156 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.143, allocations: 4 kB / 0.5638 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.143, allocations: 0 / 0.5638 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.143, allocations: 0 / 0.5638 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.1451, allocations: 0.7128 MB / 0.5645 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1451, allocations: 0 / 0.5645 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.393e-05/0.1451, allocations: 8 kB / 0.5645 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1451, allocations: 4 kB / 0.5645 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.024e-05/0.1452, allocations: 19.97 kB / 0.5645 GB, free: 3.352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1452, allocations: 7.891 kB / 0.5645 GB, free: 3.344 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1452, allocations: 0 / 0.5645 GB, free: 3.344 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.1469, allocations: 468.7 kB / 0.565 GB, free: 2.871 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.1471, allocations: 168.7 kB / 0.5652 GB, free: 2.688 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.423e-05/0.1471, allocations: 11.98 kB / 0.5652 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004697/0.1476, allocations: 35.72 kB / 0.5652 GB, free: 2.645 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.1476, allocations: 15.94 kB / 0.5652 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-05/0.1477, allocations: 39.98 kB / 0.5653 GB, free: 2.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001707/0.1479, allocations: 205.9 kB / 0.5655 GB, free: 2.391 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1479, allocations: 4 kB / 0.5655 GB, free: 2.387 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003223/0.1482, allocations: 51.98 kB / 0.5655 GB, free: 2.336 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0001236/0.1483, allocations: 118.7 kB / 0.5656 GB, free: 2.211 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.1495, allocations: 390.6 kB / 0.566 GB, free: 1.805 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1495, allocations: 0 / 0.566 GB, free: 1.805 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007713/0.1503, allocations: 130.3 kB / 0.5661 GB, free: 1.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.1505, allocations: 16.64 kB / 0.5661 GB, free: 1.664 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.1518, allocations: 0.491 MB / 0.5666 GB, free: 1.145 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.1521, allocations: 0.7438 MB / 0.5673 GB, free: 384 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.347e-05/0.1522, allocations: 13.08 kB / 0.5674 GB, free: 372 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.708e-05/0.1522, allocations: 19.44 kB / 0.5674 GB, free: 352 kB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1522, allocations: 3.938 kB / 0.5674 GB, free: 348 kB / 430.1 MB Notification: Performance of Templates: time 0.006348/0.1586, allocations: 3.486 MB / 0.5708 GB, free: 12.88 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)