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.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 105 kB / 16.41 MB, free: 6.508 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.00126/0.00126, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.278/1.278, 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.002114/0.002114, allocations: 285.3 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9123/0.9123, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 91.86 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4192, allocations: 86.97 MB / 0.767 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002352/0.4216, allocations: 1.488 MB / 0.7685 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008716/0.4225, allocations: 433 kB / 0.7689 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.722e-05/0.4225, allocations: 0 / 0.7689 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.08e-05/0.4227, allocations: 3.938 kB / 0.7689 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.4228, allocations: 24.22 kB / 0.7689 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006194/0.4234, allocations: 254.2 kB / 0.7691 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003389/0.4237, allocations: 327.5 kB / 0.7695 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.4238, allocations: 11.97 kB / 0.7695 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.4241, allocations: 199.7 kB / 0.7697 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.4243, allocations: 113 kB / 0.7698 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.984e-05/0.4244, allocations: 20 kB / 0.7698 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.314e-05/0.4244, allocations: 20 kB / 0.7698 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.574e-05/0.4245, allocations: 83.77 kB / 0.7699 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.4247, allocations: 123.3 kB / 0.77 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.4249, allocations: 293.4 kB / 0.7703 GB, free: 316 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.425, allocations: 0 / 0.7703 GB, free: 316 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.543e-06/0.425, allocations: 0 / 0.7703 GB, free: 316 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.425, allocations: 0 / 0.7703 GB, free: 316 kB / 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.00102/0.426, allocations: 0.7461 MB / 0.771 GB, free: 15.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.426, allocations: 16.02 kB / 0.771 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.784e-05/0.4261, allocations: 28.66 kB / 0.7711 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.4264, allocations: 259.5 kB / 0.7713 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.905e-05/0.4265, allocations: 16.36 kB / 0.7713 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.603e-05/0.4265, allocations: 23.94 kB / 0.7713 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009466/0.4275, allocations: 201.4 kB / 0.7715 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.4275, allocations: 0 / 0.7715 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.4275, allocations: 0 / 0.7715 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.4275, allocations: 4 kB / 0.7715 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007388/0.4283, allocations: 95.92 kB / 0.7716 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.4286, allocations: 321.3 kB / 0.7719 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.4296, allocations: 172.8 kB / 0.7721 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007409/0.4304, allocations: 108.8 kB / 0.7722 GB, free: 14.15 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.4304, allocations: 7.984 kB / 0.7722 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009346/0.4314, allocations: 215.1 kB / 0.7724 GB, free: 13.92 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.734e-06/0.4314, allocations: 3.938 kB / 0.7724 GB, free: 13.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002441/0.4338, allocations: 440.3 kB / 0.7728 GB, free: 13.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.4339, allocations: 71.33 kB / 0.7729 GB, free: 13.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.4342, allocations: 294.9 kB / 0.7732 GB, free: 13.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.003e-05/0.4342, allocations: 33.7 kB / 0.7732 GB, free: 13.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/0.4343, allocations: 89.12 kB / 0.7733 GB, free: 12.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/0.4344, allocations: 43.48 kB / 0.7733 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.4345, allocations: 93.48 kB / 0.7734 GB, free: 12.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4346, allocations: 326.8 kB / 0.7737 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.4348, allocations: 75.95 kB / 0.7738 GB, free: 12.44 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.435, allocations: 138.4 kB / 0.774 GB, free: 12.28 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.4353, allocations: 243.3 kB / 0.7742 GB, free: 12.01 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.4353, allocations: 3.938 kB / 0.7742 GB, free: 12.01 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005767/0.4359, allocations: 380.6 kB / 0.7746 GB, free: 11.62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.245e-05/0.436, allocations: 79.38 kB / 0.7746 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.436, allocations: 4 kB / 0.7746 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.436, allocations: 192 / 0.7746 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.4362, allocations: 27.92 kB / 0.7747 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.4362, allocations: 4 kB / 0.7747 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004301/0.4366, allocations: 55.8 kB / 0.7747 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.803e-05/0.4367, allocations: 43.98 kB / 0.7748 GB, free: 11.39 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.0001851/0.4369, allocations: 171.9 kB / 0.7749 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.437, allocations: 31.7 kB / 0.775 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.944e-05/0.437, allocations: 30.3 kB / 0.775 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.437, allocations: 4 kB / 0.775 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.437, allocations: 0 / 0.775 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.437, allocations: 0 / 0.775 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/0.4391, allocations: 0.6935 MB / 0.7757 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.4391, allocations: 3.984 kB / 0.7757 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-05/0.4391, allocations: 4 kB / 0.7757 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4391, allocations: 0 / 0.7757 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.4392, allocations: 23.97 kB / 0.7757 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.4392, allocations: 0 / 0.7757 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4392, allocations: 0 / 0.7757 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.4409, allocations: 447.3 kB / 0.7761 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.441, allocations: 160.6 kB / 0.7763 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.274e-05/0.4411, allocations: 16 kB / 0.7763 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004644/0.4416, allocations: 31.97 kB / 0.7763 GB, free: 9.695 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.4416, allocations: 7.984 kB / 0.7763 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.983e-05/0.4417, allocations: 47.91 kB / 0.7764 GB, free: 9.641 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001788/0.4418, allocations: 209.9 kB / 0.7766 GB, free: 9.434 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4419, allocations: 0 / 0.7766 GB, free: 9.434 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00032/0.4422, allocations: 51.94 kB / 0.7766 GB, free: 9.383 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.0001357/0.4423, allocations: 116.9 kB / 0.7767 GB, free: 9.258 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001104/0.4434, allocations: 385.8 kB / 0.7771 GB, free: 8.859 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4434, allocations: 0 / 0.7771 GB, free: 8.859 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000741/0.4442, allocations: 116.2 kB / 0.7772 GB, free: 8.746 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.4445, allocations: 26.98 kB / 0.7772 GB, free: 8.723 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.4458, allocations: 465.4 kB / 0.7777 GB, free: 8.234 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.4461, allocations: 0.74 MB / 0.7784 GB, free: 7.469 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.4462, allocations: 15.44 kB / 0.7784 GB, free: 7.453 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.4462, allocations: 0 / 0.7784 GB, free: 7.453 MB / 0.545 GB Notification: Performance of Templates: time 0.004193/0.4504, allocations: 2.845 MB / 0.7812 GB, free: 4.645 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)