Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 108.4 kB / 16.38 MB, free: 6.418 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.00119/0.00119, allocations: 192.9 kB / 17.32 MB, free: 5.762 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.232/1.232, 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.002066/0.002066, allocations: 285.7 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8807/0.8807, allocations: 169.3 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 100.2 kB / 0.682 GB, free: 7.027 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4079, allocations: 86.97 MB / 0.767 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002379/0.4103, allocations: 1.476 MB / 0.7684 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008533/0.4112, allocations: 439.8 kB / 0.7688 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.67e-05/0.4112, allocations: 0 / 0.7688 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.263e-05/0.4113, allocations: 11.86 kB / 0.7688 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.79e-05/0.4114, allocations: 16.25 kB / 0.7689 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005959/0.412, allocations: 248.2 kB / 0.7691 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.4124, allocations: 331.5 kB / 0.7694 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.4124, allocations: 11.98 kB / 0.7694 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.4127, allocations: 195.6 kB / 0.7696 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.4129, allocations: 117.2 kB / 0.7697 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.816e-05/0.4129, allocations: 20 kB / 0.7697 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.286e-05/0.413, allocations: 20 kB / 0.7698 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.554e-05/0.4131, allocations: 83.72 kB / 0.7698 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.4132, allocations: 123.4 kB / 0.77 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.4135, allocations: 286.9 kB / 0.7702 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4135, allocations: 4 kB / 0.7702 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.595e-06/0.4135, allocations: 0 / 0.7702 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.4135, allocations: 3.938 kB / 0.7702 GB, free: 0.75 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.0009572/0.4145, allocations: 0.7448 MB / 0.771 GB, free: 15.92 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.4145, allocations: 15.97 kB / 0.771 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.7e-05/0.4146, allocations: 32.66 kB / 0.771 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.4149, allocations: 263.6 kB / 0.7713 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.4149, allocations: 16.38 kB / 0.7713 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.898e-05/0.415, allocations: 19.92 kB / 0.7713 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008849/0.4159, allocations: 197.5 kB / 0.7715 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.4159, allocations: 0 / 0.7715 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.4159, allocations: 8 kB / 0.7715 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.4159, allocations: 4 kB / 0.7715 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006832/0.4166, allocations: 99.84 kB / 0.7716 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.4169, allocations: 313.3 kB / 0.7719 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009282/0.4179, allocations: 178.4 kB / 0.7721 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006645/0.4186, allocations: 108.8 kB / 0.7722 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.4186, allocations: 0 / 0.7722 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008441/0.4194, allocations: 222 kB / 0.7724 GB, free: 14.36 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.4195, allocations: 0 / 0.7724 GB, free: 14.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002302/0.4218, allocations: 445.1 kB / 0.7728 GB, free: 13.92 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.4218, allocations: 63.34 kB / 0.7729 GB, free: 13.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.4221, allocations: 290.9 kB / 0.7731 GB, free: 13.55 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.722e-05/0.4222, allocations: 41.69 kB / 0.7732 GB, free: 13.51 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.4222, allocations: 93.14 kB / 0.7733 GB, free: 13.41 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.4223, allocations: 35.55 kB / 0.7733 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.4224, allocations: 97.48 kB / 0.7734 GB, free: 13.28 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.4226, allocations: 318.8 kB / 0.7737 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.4227, allocations: 83.95 kB / 0.7738 GB, free: 12.88 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.4229, allocations: 144.3 kB / 0.7739 GB, free: 12.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.4232, allocations: 223.4 kB / 0.7741 GB, free: 12.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.4233, allocations: 7.938 kB / 0.7741 GB, free: 12.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005742/0.4238, allocations: 400.5 kB / 0.7745 GB, free: 12.05 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.951e-05/0.4239, allocations: 71.39 kB / 0.7746 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4239, allocations: 0 / 0.7746 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.4239, allocations: 4 kB / 0.7746 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.4241, allocations: 27.97 kB / 0.7746 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.4241, allocations: 3.938 kB / 0.7746 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000412/0.4245, allocations: 63.92 kB / 0.7747 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.379e-05/0.4246, allocations: 36 kB / 0.7747 GB, free: 11.83 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.0001737/0.4248, allocations: 168 kB / 0.7749 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.4248, allocations: 23.72 kB / 0.7749 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.332e-05/0.4249, allocations: 34.23 kB / 0.7749 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.4249, allocations: 7.984 kB / 0.7749 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.4249, allocations: 4 kB / 0.7749 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4249, allocations: 0 / 0.7749 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.4268, allocations: 0.6935 MB / 0.7756 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.4268, allocations: 4 kB / 0.7756 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.439e-05/0.4269, allocations: 7.938 kB / 0.7756 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4269, allocations: 0 / 0.7756 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.4269, allocations: 15.97 kB / 0.7756 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.4269, allocations: 3.984 kB / 0.7757 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4269, allocations: 0 / 0.7757 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.4285, allocations: 454.8 kB / 0.7761 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.4286, allocations: 160.6 kB / 0.7762 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.523e-05/0.4287, allocations: 8 kB / 0.7762 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004193/0.4291, allocations: 39.95 kB / 0.7763 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.4292, allocations: 7.984 kB / 0.7763 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.396e-05/0.4292, allocations: 47.92 kB / 0.7763 GB, free: 10.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001688/0.4294, allocations: 213.9 kB / 0.7765 GB, free: 9.863 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4294, allocations: 0 / 0.7765 GB, free: 9.863 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003357/0.4298, allocations: 44 kB / 0.7766 GB, free: 9.82 MB / 0.545 GB 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.0001303/0.4299, allocations: 115.2 kB / 0.7767 GB, free: 9.695 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0011/0.431, allocations: 382.5 kB / 0.7771 GB, free: 9.297 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.431, allocations: 4 kB / 0.7771 GB, free: 9.293 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000697/0.4317, allocations: 119.8 kB / 0.7772 GB, free: 9.176 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.4321, allocations: 22.33 kB / 0.7772 GB, free: 9.156 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.4334, allocations: 461.8 kB / 0.7776 GB, free: 8.672 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.4337, allocations: 0.7474 MB / 0.7784 GB, free: 7.898 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.676e-05/0.4337, allocations: 15.42 kB / 0.7784 GB, free: 7.883 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.4337, allocations: 4 kB / 0.7784 GB, free: 7.879 MB / 0.545 GB Notification: Performance of Templates: time 0.004277/0.438, allocations: 2.829 MB / 0.7811 GB, free: 5.09 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)