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.001203/0.001203, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001427/0.001427, allocations: 177 kB / 23.36 MB, free: 1.129 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.057/1.057, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.002706/0.002706, allocations: 242.1 kB / 260.5 MB, free: 12.71 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.8101/0.8101, allocations: 138.4 MB / 402.2 MB, free: 0.5508 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.643e-06/1.643e-06, allocations: 0 / 462.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.331e-05, allocations: 5.609 kB / 462.3 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003373/0.003396, allocations: 1.607 MB / 463.9 MB, free: 15.86 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.005097, allocations: 0.5429 MB / 464.5 MB, free: 15.51 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.304e-05/0.00519, allocations: 2.812 kB / 464.5 MB, free: 15.51 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.005326, allocations: 9.891 kB / 464.5 MB, free: 15.5 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.00551, allocations: 23.89 kB / 464.5 MB, free: 15.5 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.00674, allocations: 332.6 kB / 464.8 MB, free: 15.33 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007805/0.007521, allocations: 486.2 kB / 465.3 MB, free: 15.14 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.569e-05/0.007576, allocations: 8.141 kB / 465.3 MB, free: 15.14 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006283/0.008205, allocations: 359.5 kB / 465.7 MB, free: 15.01 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003234/0.008528, allocations: 139.1 kB / 465.8 MB, free: 14.96 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.434e-05/0.008593, allocations: 26.62 kB / 465.8 MB, free: 14.96 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.716e-05/0.00865, allocations: 26.25 kB / 465.9 MB, free: 14.96 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.008779, allocations: 118.8 kB / 466 MB, free: 14.92 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.008915, allocations: 131.6 kB / 466.1 MB, free: 14.86 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003248/0.00924, allocations: 377.3 kB / 466.5 MB, free: 14.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.009243, allocations: 0.7812 kB / 466.5 MB, free: 14.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.009244, allocations: 0 / 466.5 MB, free: 14.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.009249, allocations: 1.281 kB / 466.5 MB, free: 14.5 MB / 426.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.0008884/0.01014, allocations: 0.7386 MB / 467.2 MB, free: 13.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.01018, allocations: 12.75 kB / 467.2 MB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.992e-05/0.01027, allocations: 48.88 kB / 467.3 MB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.01054, allocations: 240.5 kB / 467.5 MB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.671e-05/0.01058, allocations: 21.58 kB / 467.5 MB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-05/0.01065, allocations: 32.36 kB / 467.6 MB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.01113, allocations: 180.3 kB / 467.7 MB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.01114, allocations: 1.25 kB / 467.7 MB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.01116, allocations: 12.36 kB / 467.7 MB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.01116, allocations: 384 / 467.7 MB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.115e-05/0.01124, allocations: 40.83 kB / 467.8 MB, free: 13.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.01142, allocations: 113.7 kB / 467.9 MB, free: 13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.01157, allocations: 96.67 kB / 468 MB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.517e-05/0.01165, allocations: 50.33 kB / 468 MB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.01167, allocations: 4 kB / 468 MB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.01183, allocations: 150.3 kB / 468.2 MB, free: 12.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.01183, allocations: 0 / 468.2 MB, free: 12.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.000343/0.01217, allocations: 205 kB / 468.4 MB, free: 12.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.0122, allocations: 59.41 kB / 468.5 MB, free: 12.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.0124, allocations: 336.8 kB / 468.8 MB, free: 12.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.01243, allocations: 41.69 kB / 468.8 MB, free: 12.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.01248, allocations: 89.45 kB / 468.9 MB, free: 11.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.01251, allocations: 39.7 kB / 468.9 MB, free: 11.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.01263, allocations: 113.4 kB / 469.1 MB, free: 11.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.168e-05/0.01271, allocations: 331.6 kB / 469.4 MB, free: 11.47 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.01286, allocations: 156.7 kB / 469.5 MB, free: 11.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.01303, allocations: 210 kB / 469.7 MB, free: 11.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.01323, allocations: 250.4 kB / 470 MB, free: 10.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.01323, allocations: 3.25 kB / 470 MB, free: 10.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003717/0.01361, allocations: 436 kB / 470.4 MB, free: 10.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.062e-05/0.01367, allocations: 79.38 kB / 470.5 MB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.01367, allocations: 4 kB / 470.5 MB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.01369, allocations: 0 / 470.5 MB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.01382, allocations: 38.75 kB / 470.5 MB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.01383, allocations: 7.938 kB / 470.5 MB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.01399, allocations: 49.11 kB / 470.6 MB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.01404, allocations: 51.92 kB / 470.6 MB, free: 10.11 MB / 426.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.0001198/0.01416, allocations: 141.6 kB / 470.8 MB, free: 9.961 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.0142, allocations: 24.72 kB / 470.8 MB, free: 9.938 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.01424, allocations: 43.61 kB / 470.8 MB, free: 9.895 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.01424, allocations: 4.75 kB / 470.8 MB, free: 9.891 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.01424, allocations: 0 / 470.8 MB, free: 9.891 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01425, allocations: 0.8438 kB / 470.9 MB, free: 9.891 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004169/0.01466, allocations: 378.8 kB / 471.2 MB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.01467, allocations: 0 / 471.2 MB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.389e-05/0.01469, allocations: 7.938 kB / 471.2 MB, free: 9.496 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.01469, allocations: 8.5 kB / 471.2 MB, free: 9.488 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.01471, allocations: 9.219 kB / 471.2 MB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.01471, allocations: 4.812 kB / 471.3 MB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01472, allocations: 0 / 471.3 MB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.01494, allocations: 242.1 kB / 471.5 MB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.01507, allocations: 123.5 kB / 471.6 MB, free: 9.117 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.01512, allocations: 8 kB / 471.6 MB, free: 9.109 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.01529, allocations: 33.72 kB / 471.6 MB, free: 9.078 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.01532, allocations: 14.08 kB / 471.7 MB, free: 9.066 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/0.01536, allocations: 48.72 kB / 471.7 MB, free: 9.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.679e-05/0.01546, allocations: 137.5 kB / 471.8 MB, free: 8.887 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01546, allocations: 0 / 471.8 MB, free: 8.887 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002098/0.01567, allocations: 69.39 kB / 471.9 MB, free: 8.82 MB / 426.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 9.969e-05/0.01577, allocations: 100.3 kB / 472 MB, free: 8.715 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003902/0.01616, allocations: 398.2 kB / 472.4 MB, free: 8.293 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.01617, allocations: 4.625 kB / 472.4 MB, free: 8.289 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.717e-05/0.01625, allocations: 67.42 kB / 472.5 MB, free: 8.227 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.01645, allocations: 39.52 kB / 472.5 MB, free: 8.191 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006583/0.01711, allocations: 466.9 kB / 473 MB, free: 7.711 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.534e-05/0.01717, allocations: 91.73 kB / 473.1 MB, free: 7.602 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.746e-05/0.01721, allocations: 11.41 kB / 473.1 MB, free: 7.594 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.01739, allocations: 119.3 kB / 473.2 MB, free: 7.484 MB / 426.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01739, allocations: 0 / 473.2 MB, free: 7.484 MB / 426.7 MB Notification: Performance of Templates: time 0.006611/0.024, allocations: 5.344 MB / 478.5 MB, free: 2.371 MB / 426.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7673095697537065]