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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001416/0.001416, allocations: 115.3 kB / 16.42 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.222/1.222, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 285.4 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8907/0.8907, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 95.86 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3721, allocations: 86.98 MB / 0.767 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002309/0.3744, allocations: 1.476 MB / 0.7685 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008287/0.3753, allocations: 437.1 kB / 0.7689 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.835e-05/0.3753, allocations: 4 kB / 0.7689 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.968e-05/0.3754, allocations: 7.922 kB / 0.7689 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.69e-05/0.3755, allocations: 24.17 kB / 0.7689 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000597/0.3761, allocations: 245.5 kB / 0.7692 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000317/0.3764, allocations: 331.5 kB / 0.7695 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.691e-05/0.3765, allocations: 8 kB / 0.7695 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.3767, allocations: 195.6 kB / 0.7697 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.377, allocations: 124.6 kB / 0.7698 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.884e-05/0.377, allocations: 16 kB / 0.7698 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.417e-05/0.3771, allocations: 20 kB / 0.7698 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.289e-05/0.3772, allocations: 79.78 kB / 0.7699 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.3774, allocations: 131.3 kB / 0.77 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.3776, allocations: 281.3 kB / 0.7703 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3776, allocations: 8 kB / 0.7703 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3776, allocations: 0 / 0.7703 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.3777, allocations: 0 / 0.7703 GB, free: 0.5977 MB / 0.5294 GB 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.000942/0.3786, allocations: 0.7461 MB / 0.771 GB, free: 15.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.3786, allocations: 8.031 kB / 0.771 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.525e-05/0.3787, allocations: 36.66 kB / 0.7711 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.379, allocations: 259.5 kB / 0.7713 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.69e-05/0.3791, allocations: 12.38 kB / 0.7713 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.72e-05/0.3791, allocations: 27.92 kB / 0.7714 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009558/0.3801, allocations: 197.5 kB / 0.7716 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.3801, allocations: 4 kB / 0.7716 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.3801, allocations: 0 / 0.7716 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3802, allocations: 0 / 0.7716 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007621/0.3809, allocations: 95.91 kB / 0.7716 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.3812, allocations: 321.3 kB / 0.772 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.3823, allocations: 185.2 kB / 0.7721 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007528/0.3831, allocations: 104.8 kB / 0.7722 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.3831, allocations: 4 kB / 0.7722 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009073/0.384, allocations: 210.4 kB / 0.7724 GB, free: 14.22 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.384, allocations: 0 / 0.7724 GB, free: 14.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002481/0.3865, allocations: 453 kB / 0.7729 GB, free: 13.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.3866, allocations: 55.41 kB / 0.7729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.3868, allocations: 290.9 kB / 0.7732 GB, free: 13.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.552e-05/0.3869, allocations: 45.69 kB / 0.7732 GB, free: 13.36 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.44e-05/0.3869, allocations: 89.14 kB / 0.7733 GB, free: 13.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/0.387, allocations: 43.47 kB / 0.7734 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.3871, allocations: 97.48 kB / 0.7735 GB, free: 13.13 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.3872, allocations: 318.8 kB / 0.7738 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.3874, allocations: 79.95 kB / 0.7738 GB, free: 12.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.3876, allocations: 140.3 kB / 0.774 GB, free: 12.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.3879, allocations: 236 kB / 0.7742 GB, free: 12.31 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3879, allocations: 0 / 0.7742 GB, free: 12.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000582/0.3885, allocations: 400.5 kB / 0.7746 GB, free: 11.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.69e-05/0.3885, allocations: 75.39 kB / 0.7747 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3886, allocations: 0 / 0.7747 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3886, allocations: 4 kB / 0.7747 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.3887, allocations: 23.91 kB / 0.7747 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.3888, allocations: 4 kB / 0.7747 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004492/0.3892, allocations: 59.98 kB / 0.7747 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.514e-05/0.3893, allocations: 40 kB / 0.7748 GB, free: 11.69 MB / 0.545 GB 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.0001731/0.3895, allocations: 171.9 kB / 0.7749 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.3895, allocations: 27.66 kB / 0.775 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.303e-05/0.3896, allocations: 30.3 kB / 0.775 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3896, allocations: 4 kB / 0.775 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3896, allocations: 4 kB / 0.775 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.3898, allocations: 168.5 kB / 0.7752 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.597e-05/0.3898, allocations: 12 kB / 0.7752 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004469/0.3903, allocations: 27.97 kB / 0.7752 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/0.3903, allocations: 11.92 kB / 0.7752 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001676/0.392, allocations: 412.7 kB / 0.7756 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001713/0.3937, allocations: 0.513 MB / 0.7761 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007498/0.3945, allocations: 111.9 kB / 0.7762 GB, free: 10.17 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000161/0.3947, allocations: 205.9 kB / 0.7764 GB, free: 9.965 MB / 0.545 GB Notification: Performance of Backend: time 2.41e-07/0.3947, allocations: 0 / 0.7764 GB, free: 9.965 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006684/0.3953, allocations: 365 kB / 0.7768 GB, free: 9.574 MB / 0.545 GB Notification: Performance of SimCode: time 0.0006839/0.396, allocations: 0.7926 MB / 0.7775 GB, free: 8.734 MB / 0.545 GB Notification: Performance of Templates: time 0.005972/0.402, allocations: 3.738 MB / 0.7812 GB, free: 5.043 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (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)