Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.001511/0.001511, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001619/0.001619, allocations: 169.3 kB / 23.02 MB, free: 1.547 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.9677/0.9677, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001694/0.001694, allocations: 225 kB / 260.2 MB, free: 12.81 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7144/0.7144, allocations: 138.4 MB / 455.2 MB, free: 1.527 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 0.5551 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.966e-05/4.237e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.543 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003167/0.003209, allocations: 1.58 MB / 0.5566 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.004631, allocations: 0.5265 MB / 0.5571 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.375e-05/0.004705, allocations: 4 kB / 0.5571 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.004839, allocations: 11.88 kB / 0.5572 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.004988, allocations: 27.84 kB / 0.5572 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009868/0.005975, allocations: 327.1 kB / 0.5575 GB, free: 14.06 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005795/0.006554, allocations: 479.4 kB / 0.5579 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.196e-05/0.006606, allocations: 4 kB / 0.5579 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005114/0.007118, allocations: 355.6 kB / 0.5583 GB, free: 13.24 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002953/0.007413, allocations: 131.7 kB / 0.5584 GB, free: 13.11 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.944e-05/0.007492, allocations: 24 kB / 0.5584 GB, free: 13.09 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.189e-05/0.007564, allocations: 28 kB / 0.5585 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.007696, allocations: 127.6 kB / 0.5586 GB, free: 12.93 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.007857, allocations: 127.7 kB / 0.5587 GB, free: 12.81 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004769/0.008334, allocations: 378.9 kB / 0.5591 GB, free: 12.44 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.008338, allocations: 0 / 0.5591 GB, free: 12.44 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.008339, allocations: 0 / 0.5591 GB, free: 12.44 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.008348, allocations: 0 / 0.5591 GB, free: 12.44 MB / 490.7 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.001294/0.009642, allocations: 0.9105 MB / 0.56 GB, free: 11.45 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.00969, allocations: 8.75 kB / 0.56 GB, free: 11.44 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.00985, allocations: 56.7 kB / 0.56 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.01022, allocations: 266.8 kB / 0.5603 GB, free: 11.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.687e-05/0.01028, allocations: 20.36 kB / 0.5603 GB, free: 11.08 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.387e-05/0.01036, allocations: 24.38 kB / 0.5603 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005247/0.01088, allocations: 210.7 kB / 0.5605 GB, free: 10.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.01089, allocations: 192 / 0.5605 GB, free: 10.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.01092, allocations: 4.312 kB / 0.5605 GB, free: 10.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.01093, allocations: 384 / 0.5605 GB, free: 10.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002218/0.01115, allocations: 63.53 kB / 0.5606 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.01155, allocations: 320.4 kB / 0.5609 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.01185, allocations: 123 kB / 0.561 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.012, allocations: 67.66 kB / 0.5611 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.01203, allocations: 4 kB / 0.5611 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002923/0.01232, allocations: 180.9 kB / 0.5612 GB, free: 10.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 2.094e-06/0.01232, allocations: 0 / 0.5612 GB, free: 10.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007999/0.01312, allocations: 377.2 kB / 0.5616 GB, free: 9.656 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.01317, allocations: 63.33 kB / 0.5617 GB, free: 9.582 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004005/0.01357, allocations: 426.6 kB / 0.5621 GB, free: 9.152 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.535e-05/0.01363, allocations: 41.69 kB / 0.5621 GB, free: 9.105 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.629e-05/0.01371, allocations: 140.2 kB / 0.5622 GB, free: 8.965 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/0.01402, allocations: 35.69 kB / 0.5623 GB, free: 8.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.0142, allocations: 131.1 kB / 0.5624 GB, free: 8.793 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.01434, allocations: 0.4923 MB / 0.5629 GB, free: 8.289 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.01465, allocations: 183.2 kB / 0.5631 GB, free: 8.098 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/0.01497, allocations: 249.1 kB / 0.5633 GB, free: 7.812 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.01532, allocations: 275.4 kB / 0.5636 GB, free: 7.504 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.01532, allocations: 0 / 0.5636 GB, free: 7.504 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008526/0.01618, allocations: 0.5627 MB / 0.5641 GB, free: 6.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.487e-05/0.01625, allocations: 90.12 kB / 0.5642 GB, free: 6.812 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.01626, allocations: 0 / 0.5642 GB, free: 6.812 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.01628, allocations: 4 kB / 0.5642 GB, free: 6.809 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.01646, allocations: 35.97 kB / 0.5642 GB, free: 6.773 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.01647, allocations: 11.88 kB / 0.5642 GB, free: 6.762 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.01674, allocations: 39.86 kB / 0.5643 GB, free: 6.723 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.708e-05/0.01683, allocations: 63.98 kB / 0.5643 GB, free: 6.66 MB / 490.7 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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000173/0.017, allocations: 182.6 kB / 0.5645 GB, free: 6.473 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.376e-05/0.01706, allocations: 47.72 kB / 0.5646 GB, free: 6.426 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.467e-05/0.0171, allocations: 35.67 kB / 0.5646 GB, free: 6.387 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.01711, allocations: 4 kB / 0.5646 GB, free: 6.383 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.01711, allocations: 0 / 0.5646 GB, free: 6.383 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.01712, allocations: 11.86 kB / 0.5646 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006909/0.01781, allocations: 0.6732 MB / 0.5653 GB, free: 5.652 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01781, allocations: 0 / 0.5653 GB, free: 5.652 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.889e-05/0.01785, allocations: 8 kB / 0.5653 GB, free: 5.645 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.01785, allocations: 3.938 kB / 0.5653 GB, free: 5.641 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.01788, allocations: 23.91 kB / 0.5653 GB, free: 5.617 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.01788, allocations: 4 kB / 0.5653 GB, free: 5.613 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01788, allocations: 0 / 0.5653 GB, free: 5.613 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.01827, allocations: 459.5 kB / 0.5657 GB, free: 5.148 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.0184, allocations: 129.5 kB / 0.5659 GB, free: 5.023 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.776e-05/0.01845, allocations: 15.94 kB / 0.5659 GB, free: 5.008 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.01861, allocations: 23.97 kB / 0.5659 GB, free: 4.984 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.01864, allocations: 7.984 kB / 0.5659 GB, free: 4.977 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/0.01869, allocations: 59.98 kB / 0.566 GB, free: 4.918 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000166/0.01885, allocations: 271.1 kB / 0.5662 GB, free: 4.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01885, allocations: 0 / 0.5662 GB, free: 4.66 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002261/0.01908, allocations: 67.98 kB / 0.5663 GB, free: 4.594 MB / 490.7 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 (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.0001206/0.0192, allocations: 119.2 kB / 0.5664 GB, free: 4.465 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004565/0.01966, allocations: 429.6 kB / 0.5668 GB, free: 4.004 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.01966, allocations: 0 / 0.5668 GB, free: 4.004 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.01977, allocations: 87.95 kB / 0.5669 GB, free: 3.914 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.02004, allocations: 45.62 kB / 0.5669 GB, free: 3.867 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007598/0.0208, allocations: 478.9 kB / 0.5674 GB, free: 3.371 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.333e-05/0.02085, allocations: 83.81 kB / 0.5675 GB, free: 3.266 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.851e-05/0.02089, allocations: 17.14 kB / 0.5675 GB, free: 3.246 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.02093, allocations: 20.48 kB / 0.5675 GB, free: 3.227 MB / 490.7 MB Notification: Performance of SimCode: time 7.41e-07/0.02093, allocations: 3.938 kB / 0.5675 GB, free: 3.223 MB / 490.7 MB Notification: Performance of Templates: time 0.008547/0.02948, allocations: 6.51 MB / 0.5739 GB, free: 12.68 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.717695700004697]