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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 0.808/0.808, allocations: 140.1 MB / 156 MB, free: 5.172 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009454/0.0009454, allocations: 170.1 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.4 MB / 426.3 MB, free: 8.387 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008998/0.0009, allocations: 90.36 kB / 0.4945 GB, free: 8.328 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001601/0.001601, allocations: 269 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000456/0.000456, allocations: 16 kB / 0.662 GB, free: 6.801 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3667, allocations: 79.29 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1272/0.4939, allocations: 109.1 MB / 0.846 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.4942, allocations: 67.97 kB / 0.846 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.0129/0.5071, allocations: 4.474 MB / 0.8504 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5072, allocations: 0 / 0.8504 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.605e-05/0.5072, allocations: 4 kB / 0.8504 GB, free: 12.61 MB / 0.5261 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.0008785/0.5081, allocations: 0.6182 MB / 0.851 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.5081, allocations: 12.03 kB / 0.851 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.603e-05/0.5082, allocations: 28.66 kB / 0.851 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.5085, allocations: 255.7 kB / 0.8513 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.5086, allocations: 12.36 kB / 0.8513 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.519e-05/0.5086, allocations: 16.38 kB / 0.8513 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.5089, allocations: 159.4 kB / 0.8515 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.5089, allocations: 4.125 kB / 0.8515 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.5089, allocations: 3.938 kB / 0.8515 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.509, allocations: 4 kB / 0.8515 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.5091, allocations: 43.97 kB / 0.8515 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.5094, allocations: 333.2 kB / 0.8518 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.5097, allocations: 134.6 kB / 0.852 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.5098, allocations: 60.83 kB / 0.852 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.5098, allocations: 4 kB / 0.852 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003811/0.5102, allocations: 207.6 kB / 0.8522 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.5102, allocations: 0 / 0.8522 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0005389/0.5108, allocations: 274.2 kB / 0.8525 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.5108, allocations: 63.39 kB / 0.8525 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.5111, allocations: 283 kB / 0.8528 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.03e-05/0.5111, allocations: 41.7 kB / 0.8528 GB, free: 9.871 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.066e-05/0.5112, allocations: 89.12 kB / 0.8529 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/0.5113, allocations: 47.44 kB / 0.853 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.5113, allocations: 8 kB / 0.853 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.99e-05/0.5114, allocations: 326.8 kB / 0.8533 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.5117, allocations: 100.2 kB / 0.8534 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.5119, allocations: 156.5 kB / 0.8535 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.5123, allocations: 241.2 kB / 0.8538 GB, free: 8.855 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.5123, allocations: 0 / 0.8538 GB, free: 8.855 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000715/0.513, allocations: 427.9 kB / 0.8542 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.064e-05/0.5131, allocations: 76.83 kB / 0.8543 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.5131, allocations: 0 / 0.8543 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.5131, allocations: 7.984 kB / 0.8543 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.5133, allocations: 31.86 kB / 0.8543 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.5133, allocations: 4 kB / 0.8543 GB, free: 8.293 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/0.5136, allocations: 47.81 kB / 0.8543 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-05/0.5137, allocations: 55.98 kB / 0.8544 GB, free: 8.191 MB / 0.5261 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 () * Number of clocked 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.0001695/0.5139, allocations: 183.9 kB / 0.8546 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.5139, allocations: 23.72 kB / 0.8546 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.411e-05/0.514, allocations: 30.25 kB / 0.8546 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.514, allocations: 3.938 kB / 0.8546 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.514, allocations: 4 kB / 0.8546 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.514, allocations: 0 / 0.8546 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007285/0.5148, allocations: 0.5568 MB / 0.8552 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.5148, allocations: 7.938 kB / 0.8552 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.403e-05/0.5148, allocations: 7.984 kB / 0.8552 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5148, allocations: 0 / 0.8552 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.5149, allocations: 15.98 kB / 0.8552 GB, free: 7.289 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.5149, allocations: 0 / 0.8552 GB, free: 7.289 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.5149, allocations: 3.938 kB / 0.8552 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000374/0.5153, allocations: 316.6 kB / 0.8555 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.5154, allocations: 156.7 kB / 0.8557 GB, free: 6.789 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.5155, allocations: 15.92 kB / 0.8557 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.5156, allocations: 12 kB / 0.8557 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.5157, allocations: 15.97 kB / 0.8557 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.839e-05/0.5158, allocations: 35.92 kB / 0.8557 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001743/0.5159, allocations: 205.9 kB / 0.8559 GB, free: 6.512 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5159, allocations: 0 / 0.8559 GB, free: 6.512 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003044/0.5163, allocations: 52 kB / 0.856 GB, free: 6.461 MB / 0.5261 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) * Number of clocked states: 0 () * 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.0001465/0.5164, allocations: 123.5 kB / 0.8561 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005443/0.517, allocations: 347.5 kB / 0.8564 GB, free: 5.969 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.517, allocations: 0 / 0.8564 GB, free: 5.969 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.5171, allocations: 75.89 kB / 0.8565 GB, free: 5.895 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.5174, allocations: 28.8 kB / 0.8565 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006264/0.5181, allocations: 440.7 kB / 0.8569 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.5184, allocations: 0.7476 MB / 0.8577 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001513/0.5186, allocations: 37.08 kB / 0.8577 GB, free: 4.598 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.5187, allocations: 39.42 kB / 0.8578 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of SimCode: time 1.623e-06/0.5187, allocations: 0 / 0.8578 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of Templates: time 0.006959/0.5256, allocations: 4.339 MB / 0.862 GB, free: 232 kB / 0.5261 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)