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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 1.006/1.006, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 172.2 kB / 182.2 MB, free: 9.457 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 221.5 MB / 436.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000881/0.0008809, allocations: 95.42 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001766/0.001766, allocations: 278.3 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.394e-05/1.403e-05, allocations: 0 / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3743, allocations: 82.78 MB / 0.7574 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1366/0.511, allocations: 109.8 MB / 0.8646 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.5112, allocations: 79.77 kB / 0.8647 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0142/0.5254, allocations: 4.455 MB / 0.8691 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5255, allocations: 0 / 0.8691 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.5255, allocations: 4 kB / 0.8691 GB, free: 13.48 MB / 0.5417 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.0008924/0.5264, allocations: 0.5827 MB / 0.8696 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.5264, allocations: 8.031 kB / 0.8696 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.5265, allocations: 43.61 kB / 0.8697 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.5269, allocations: 242.6 kB / 0.8699 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.5269, allocations: 7.953 kB / 0.8699 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.925e-05/0.527, allocations: 16 kB / 0.8699 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001142/0.5271, allocations: 39.98 kB / 0.87 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.5273, allocations: 144.5 kB / 0.8701 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.5274, allocations: 0 / 0.8701 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.5274, allocations: 4 kB / 0.8701 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.5274, allocations: 0 / 0.8701 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.5278, allocations: 297.8 kB / 0.8704 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.528, allocations: 118.7 kB / 0.8705 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.536e-05/0.5281, allocations: 52.84 kB / 0.8706 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.5281, allocations: 4 kB / 0.8706 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003795/0.5285, allocations: 213.6 kB / 0.8708 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.5285, allocations: 0 / 0.8708 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.0004097/0.5289, allocations: 209.1 kB / 0.871 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.529, allocations: 67.38 kB / 0.871 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.5292, allocations: 238.3 kB / 0.8713 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.479e-05/0.5293, allocations: 33.7 kB / 0.8713 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.5294, allocations: 97.44 kB / 0.8714 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.458e-05/0.5294, allocations: 39.45 kB / 0.8714 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.5295, allocations: 4 kB / 0.8714 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.5296, allocations: 326.8 kB / 0.8717 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.5298, allocations: 84.22 kB / 0.8718 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.53, allocations: 142.2 kB / 0.8719 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.5302, allocations: 74.7 kB / 0.872 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5302, allocations: 0 / 0.872 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005961/0.5308, allocations: 319.8 kB / 0.8723 GB, free: 9.879 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.405e-05/0.5308, allocations: 71.39 kB / 0.8724 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.5309, allocations: 3.953 kB / 0.8724 GB, free: 9.793 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.5309, allocations: 4 kB / 0.8724 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.531, allocations: 31.91 kB / 0.8724 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.5311, allocations: 11.83 kB / 0.8724 GB, free: 9.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/0.5315, allocations: 43.81 kB / 0.8725 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-05/0.5316, allocations: 60.02 kB / 0.8725 GB, free: 9.648 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.5317, allocations: 124 kB / 0.8727 GB, free: 9.523 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.5318, allocations: 27.7 kB / 0.8727 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.428e-05/0.5318, allocations: 34.03 kB / 0.8727 GB, free: 9.461 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.5318, allocations: 3.953 kB / 0.8727 GB, free: 9.457 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5318, allocations: 4 kB / 0.8727 GB, free: 9.453 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5319, allocations: 0 / 0.8727 GB, free: 9.453 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007378/0.5326, allocations: 0.5159 MB / 0.8732 GB, free: 8.895 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5326, allocations: 0 / 0.8732 GB, free: 8.895 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.659e-05/0.5327, allocations: 7.984 kB / 0.8732 GB, free: 8.887 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.5327, allocations: 7.953 kB / 0.8732 GB, free: 8.879 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.5327, allocations: 7.984 kB / 0.8733 GB, free: 8.871 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5327, allocations: 0 / 0.8733 GB, free: 8.871 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5327, allocations: 4 kB / 0.8733 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.5331, allocations: 312.7 kB / 0.8736 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.5333, allocations: 152.7 kB / 0.8737 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.799e-05/0.5333, allocations: 11.95 kB / 0.8737 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.5335, allocations: 11.98 kB / 0.8737 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/0.5336, allocations: 19.97 kB / 0.8737 GB, free: 8.336 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.895e-05/0.5337, allocations: 27.98 kB / 0.8738 GB, free: 8.309 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001605/0.5338, allocations: 190 kB / 0.874 GB, free: 8.121 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5338, allocations: 0 / 0.874 GB, free: 8.121 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003368/0.5342, allocations: 52.36 kB / 0.874 GB, free: 8.07 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001382/0.5343, allocations: 121.3 kB / 0.8741 GB, free: 7.945 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004716/0.5348, allocations: 330.7 kB / 0.8744 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.5348, allocations: 0 / 0.8744 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.5349, allocations: 71.91 kB / 0.8745 GB, free: 7.527 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.5352, allocations: 12.88 kB / 0.8745 GB, free: 7.512 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005452/0.5358, allocations: 273.4 kB / 0.8748 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.5361, allocations: 0.7513 MB / 0.8755 GB, free: 6.449 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001506/0.5363, allocations: 33.22 kB / 0.8755 GB, free: 6.418 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.5364, allocations: 43.34 kB / 0.8756 GB, free: 6.375 MB / 0.5417 GB Notification: Performance of SimCode: time 5.61e-07/0.5364, allocations: 0 / 0.8756 GB, free: 6.375 MB / 0.5417 GB Notification: Performance of Templates: time 0.007604/0.544, allocations: 4.134 MB / 0.8796 GB, free: 2.254 MB / 0.5417 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)