Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.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.0009335/0.0009335, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009656/0.0009656, allocations: 165 kB / 23.02 MB, free: 1.551 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 1.004/1.004, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.001734/0.001734, allocations: 239.2 kB / 260.2 MB, free: 12.82 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.7651/0.7651, allocations: 138.4 MB / 455.2 MB, free: 1.555 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 0.5551 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.492e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.582 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002169/0.002194, allocations: 1.565 MB / 0.5566 GB, free: 15 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000905/0.003099, allocations: 0.5343 MB / 0.5571 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.844e-05/0.003148, allocations: 0 / 0.5571 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.262e-05/0.00324, allocations: 11.86 kB / 0.5571 GB, free: 14.45 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.765e-05/0.003338, allocations: 23.81 kB / 0.5572 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005985/0.003936, allocations: 327.2 kB / 0.5575 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000358/0.004294, allocations: 483.4 kB / 0.5579 GB, free: 13.64 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.386e-05/0.004328, allocations: 0 / 0.5579 GB, free: 13.64 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003392/0.004667, allocations: 363.6 kB / 0.5583 GB, free: 13.28 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.00486, allocations: 119.8 kB / 0.5584 GB, free: 13.16 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.721e-05/0.004917, allocations: 24 kB / 0.5584 GB, free: 13.14 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.882e-05/0.004966, allocations: 35.94 kB / 0.5585 GB, free: 13.11 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.515e-05/0.005061, allocations: 119.7 kB / 0.5586 GB, free: 12.99 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.005173, allocations: 131.7 kB / 0.5587 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003123/0.005485, allocations: 378.9 kB / 0.5591 GB, free: 12.49 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.005488, allocations: 0 / 0.5591 GB, free: 12.49 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.005489, allocations: 0 / 0.5591 GB, free: 12.49 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.005495, allocations: 0 / 0.5591 GB, free: 12.49 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.0008493/0.006344, allocations: 0.9066 MB / 0.5599 GB, free: 11.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.006378, allocations: 8.75 kB / 0.56 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.00648, allocations: 56.7 kB / 0.56 GB, free: 11.44 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.006741, allocations: 266.8 kB / 0.5603 GB, free: 11.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/0.006778, allocations: 20.36 kB / 0.5603 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/0.006828, allocations: 28.36 kB / 0.5603 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003573/0.007185, allocations: 210.7 kB / 0.5605 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.007195, allocations: 192 / 0.5605 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.007214, allocations: 384 / 0.5605 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.007222, allocations: 4.375 kB / 0.5605 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.007323, allocations: 55.91 kB / 0.5606 GB, free: 10.83 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/0.007611, allocations: 312.4 kB / 0.5609 GB, free: 10.49 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.007809, allocations: 131 kB / 0.561 GB, free: 10.35 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.934e-05/0.007908, allocations: 63.66 kB / 0.561 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.007929, allocations: 0 / 0.561 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.008128, allocations: 192.7 kB / 0.5612 GB, free: 10.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.082e-06/0.008129, allocations: 0 / 0.5612 GB, free: 10.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005389/0.008668, allocations: 373.2 kB / 0.5616 GB, free: 9.715 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.008704, allocations: 59.41 kB / 0.5616 GB, free: 9.645 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005249/0.009229, allocations: 426.6 kB / 0.5621 GB, free: 9.215 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/0.009266, allocations: 45.69 kB / 0.5621 GB, free: 9.164 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.009325, allocations: 140.2 kB / 0.5622 GB, free: 9.023 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.009365, allocations: 39.67 kB / 0.5623 GB, free: 8.984 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.009496, allocations: 135.1 kB / 0.5624 GB, free: 8.844 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.009608, allocations: 0.4884 MB / 0.5629 GB, free: 8.344 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.009817, allocations: 187.2 kB / 0.5631 GB, free: 8.148 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.01002, allocations: 245.1 kB / 0.5633 GB, free: 7.867 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.01024, allocations: 275.4 kB / 0.5635 GB, free: 7.559 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01024, allocations: 4 kB / 0.5636 GB, free: 7.555 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005439/0.01079, allocations: 0.5586 MB / 0.5641 GB, free: 6.965 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.299e-05/0.01084, allocations: 79.38 kB / 0.5642 GB, free: 6.875 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.01085, allocations: 3.984 kB / 0.5642 GB, free: 6.871 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.01086, allocations: 4.188 kB / 0.5642 GB, free: 6.867 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.011, allocations: 39.97 kB / 0.5642 GB, free: 6.828 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.011, allocations: 11.88 kB / 0.5642 GB, free: 6.816 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.01118, allocations: 43.86 kB / 0.5643 GB, free: 6.773 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.547e-05/0.01124, allocations: 59.98 kB / 0.5643 GB, free: 6.715 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.0001202/0.01136, allocations: 182.6 kB / 0.5645 GB, free: 6.527 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.01141, allocations: 43.72 kB / 0.5645 GB, free: 6.484 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.01145, allocations: 39.67 kB / 0.5646 GB, free: 6.441 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01145, allocations: 4 kB / 0.5646 GB, free: 6.438 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.01146, allocations: 3.938 kB / 0.5646 GB, free: 6.434 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.01146, allocations: 3.938 kB / 0.5646 GB, free: 6.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007059/0.01217, allocations: 0.6732 MB / 0.5653 GB, free: 5.711 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01217, allocations: 0 / 0.5653 GB, free: 5.711 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.891e-05/0.0122, allocations: 7.938 kB / 0.5653 GB, free: 5.703 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.0122, allocations: 0 / 0.5653 GB, free: 5.703 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.01223, allocations: 27.91 kB / 0.5653 GB, free: 5.676 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.01223, allocations: 0 / 0.5653 GB, free: 5.676 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01223, allocations: 7.938 kB / 0.5653 GB, free: 5.668 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.01261, allocations: 456 kB / 0.5657 GB, free: 5.203 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.01276, allocations: 125.6 kB / 0.5658 GB, free: 5.082 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.0128, allocations: 15.94 kB / 0.5659 GB, free: 5.066 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.01296, allocations: 19.97 kB / 0.5659 GB, free: 5.047 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.01298, allocations: 7.984 kB / 0.5659 GB, free: 5.039 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.581e-05/0.01303, allocations: 59.98 kB / 0.5659 GB, free: 4.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001511/0.01318, allocations: 275.1 kB / 0.5662 GB, free: 4.719 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01318, allocations: 0 / 0.5662 GB, free: 4.719 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002269/0.01341, allocations: 67.98 kB / 0.5663 GB, free: 4.652 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.0001057/0.01351, allocations: 123.1 kB / 0.5664 GB, free: 4.52 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004448/0.01396, allocations: 428.8 kB / 0.5668 GB, free: 4.062 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01396, allocations: 384 / 0.5668 GB, free: 4.062 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.01407, allocations: 95.56 kB / 0.5669 GB, free: 3.965 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.01434, allocations: 45.56 kB / 0.5669 GB, free: 3.918 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007251/0.01506, allocations: 482.9 kB / 0.5674 GB, free: 3.418 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.159e-05/0.01511, allocations: 83.81 kB / 0.5675 GB, free: 3.312 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.507e-05/0.01515, allocations: 13.14 kB / 0.5675 GB, free: 3.297 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.01519, allocations: 28.42 kB / 0.5675 GB, free: 3.27 MB / 490.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01519, allocations: 0 / 0.5675 GB, free: 3.27 MB / 490.7 MB Notification: Performance of Templates: time 0.006939/0.02213, allocations: 5.893 MB / 0.5733 GB, free: 13.33 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.036311070434749]