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.001385/0.001385, allocations: 92.7 kB / 19.44 MB, free: 324 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.001517/0.001517, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.462/1.462, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.002711/0.002711, allocations: 232.5 kB / 259.8 MB, free: 12.86 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 1.092/1.092, allocations: 138.4 MB / 454.7 MB, free: 1.496 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 1.412e-06/1.412e-06, allocations: 0 / 0.5543 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.649e-05, allocations: 5.266 kB / 0.5543 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00285/0.002877, allocations: 1.526 MB / 0.5558 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.004282, allocations: 0.5226 MB / 0.5563 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.695e-05/0.004339, allocations: 0 / 0.5563 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.004445, allocations: 7.875 kB / 0.5563 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.004563, allocations: 31.78 kB / 0.5563 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009365/0.005499, allocations: 323.2 kB / 0.5566 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006446/0.006144, allocations: 483.4 kB / 0.5571 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.935e-05/0.006183, allocations: 11.92 kB / 0.5571 GB, free: 14 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000613/0.006796, allocations: 351.6 kB / 0.5575 GB, free: 13.65 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003282/0.007125, allocations: 123.8 kB / 0.5576 GB, free: 13.53 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.276e-05/0.007217, allocations: 28 kB / 0.5576 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.36e-05/0.007301, allocations: 28 kB / 0.5576 GB, free: 13.48 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.007453, allocations: 123.7 kB / 0.5577 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.007642, allocations: 135.7 kB / 0.5579 GB, free: 13.22 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005998/0.008241, allocations: 462.6 kB / 0.5583 GB, free: 12.77 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.008246, allocations: 4 kB / 0.5583 GB, free: 12.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.008246, allocations: 0 / 0.5583 GB, free: 12.77 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.008254, allocations: 0 / 0.5583 GB, free: 12.77 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.001412/0.009666, allocations: 0.795 MB / 0.5591 GB, free: 11.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.009703, allocations: 8.75 kB / 0.5591 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.00988, allocations: 60.7 kB / 0.5592 GB, free: 11.83 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004423/0.01032, allocations: 263.9 kB / 0.5594 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.634e-05/0.01038, allocations: 24.34 kB / 0.5594 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.698e-05/0.01047, allocations: 28.36 kB / 0.5595 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.01159, allocations: 229.1 kB / 0.5597 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.0116, allocations: 4.188 kB / 0.5597 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.01163, allocations: 384 / 0.5597 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.01163, allocations: 384 / 0.5597 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009094/0.01254, allocations: 127.8 kB / 0.5598 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/0.01308, allocations: 277.1 kB / 0.5601 GB, free: 10.84 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.01428, allocations: 178.5 kB / 0.5602 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008623/0.01514, allocations: 120.8 kB / 0.5604 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.01518, allocations: 7.938 kB / 0.5604 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001077/0.01625, allocations: 231.2 kB / 0.5606 GB, free: 10.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.462e-06/0.01625, allocations: 0 / 0.5606 GB, free: 10.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.002991/0.01924, allocations: 0.5279 MB / 0.5611 GB, free: 9.758 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.0193, allocations: 71.33 kB / 0.5612 GB, free: 9.676 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004958/0.0198, allocations: 413.8 kB / 0.5616 GB, free: 9.266 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.275e-05/0.01987, allocations: 45.69 kB / 0.5616 GB, free: 9.215 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.807e-05/0.01997, allocations: 89.45 kB / 0.5617 GB, free: 9.125 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.509e-05/0.02003, allocations: 43.67 kB / 0.5617 GB, free: 9.082 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.02026, allocations: 133.4 kB / 0.5619 GB, free: 8.945 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.02044, allocations: 318.8 kB / 0.5622 GB, free: 8.625 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/0.02081, allocations: 199.3 kB / 0.5624 GB, free: 8.418 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004087/0.02122, allocations: 249.2 kB / 0.5626 GB, free: 8.141 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004391/0.02166, allocations: 279.8 kB / 0.5629 GB, free: 7.836 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.02166, allocations: 0 / 0.5629 GB, free: 7.836 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001062/0.02272, allocations: 0.5743 MB / 0.5634 GB, free: 7.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.222e-05/0.02281, allocations: 79.38 kB / 0.5635 GB, free: 7.141 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.02282, allocations: 7.984 kB / 0.5635 GB, free: 7.133 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.02284, allocations: 4.188 kB / 0.5635 GB, free: 7.129 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.02301, allocations: 23.92 kB / 0.5635 GB, free: 7.105 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.02302, allocations: 7.938 kB / 0.5635 GB, free: 7.098 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005549/0.02358, allocations: 63.84 kB / 0.5636 GB, free: 7.035 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.02368, allocations: 59.98 kB / 0.5637 GB, free: 6.977 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.0002497/0.02393, allocations: 195.7 kB / 0.5638 GB, free: 6.777 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-05/0.02403, allocations: 47.72 kB / 0.5639 GB, free: 6.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.372e-05/0.0241, allocations: 47.67 kB / 0.5639 GB, free: 6.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.0241, allocations: 0 / 0.5639 GB, free: 6.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.02411, allocations: 0 / 0.5639 GB, free: 6.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.02411, allocations: 7.922 kB / 0.5639 GB, free: 6.672 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002494/0.02661, allocations: 0.7129 MB / 0.5646 GB, free: 5.918 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.02661, allocations: 0 / 0.5646 GB, free: 5.918 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-05/0.02665, allocations: 7.984 kB / 0.5646 GB, free: 5.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.02665, allocations: 7.938 kB / 0.5647 GB, free: 5.902 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-05/0.0267, allocations: 23.92 kB / 0.5647 GB, free: 5.879 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.0267, allocations: 0 / 0.5647 GB, free: 5.879 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.0267, allocations: 0 / 0.5647 GB, free: 5.879 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002044/0.02875, allocations: 0.5112 MB / 0.5652 GB, free: 5.352 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002871/0.02903, allocations: 133.6 kB / 0.5653 GB, free: 5.219 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.63e-05/0.02911, allocations: 11.94 kB / 0.5653 GB, free: 5.207 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005297/0.02964, allocations: 39.95 kB / 0.5654 GB, free: 5.168 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.02968, allocations: 11.98 kB / 0.5654 GB, free: 5.156 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.079e-05/0.02976, allocations: 55.98 kB / 0.5654 GB, free: 5.102 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003624/0.03012, allocations: 295.1 kB / 0.5657 GB, free: 4.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03012, allocations: 0 / 0.5657 GB, free: 4.82 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003806/0.0305, allocations: 71.98 kB / 0.5658 GB, free: 4.75 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.0001666/0.03067, allocations: 119.1 kB / 0.5659 GB, free: 4.625 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001484/0.03215, allocations: 489.6 kB / 0.5663 GB, free: 4.113 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.03216, allocations: 4.125 kB / 0.5664 GB, free: 4.109 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008736/0.03303, allocations: 131.8 kB / 0.5665 GB, free: 3.98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.03343, allocations: 49.05 kB / 0.5665 GB, free: 3.934 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.03518, allocations: 0.5753 MB / 0.5671 GB, free: 3.328 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.03539, allocations: 171 kB / 0.5672 GB, free: 3.137 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.676e-05/0.03545, allocations: 9.156 kB / 0.5673 GB, free: 3.129 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.03549, allocations: 16.48 kB / 0.5673 GB, free: 3.113 MB / 490.7 MB Notification: Performance of SimCode: time 4.71e-07/0.03549, allocations: 0 / 0.5673 GB, free: 3.113 MB / 490.7 MB Notification: Performance of Templates: time 0.0113/0.04679, allocations: 5.9 MB / 0.573 GB, free: 13.16 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.670340938027948]