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.005183/0.005183, allocations: 102 kB / 15.73 MB, free: 6.051 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.00106/0.00106, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.361/1.361, allocations: 222.9 MB / 240.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002083/0.002083, allocations: 297.6 kB / 290.8 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.9213/0.9213, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 95.86 kB / 0.6814 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4646/0.4665, allocations: 86.99 MB / 0.7664 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002646/0.4692, allocations: 1.484 MB / 0.7678 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009658/0.4702, allocations: 439.6 kB / 0.7682 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.936e-05/0.4703, allocations: 0 / 0.7682 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.4704, allocations: 11.86 kB / 0.7682 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.4705, allocations: 16.25 kB / 0.7683 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007678/0.4713, allocations: 251 kB / 0.7685 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004161/0.4717, allocations: 335.5 kB / 0.7688 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.887e-05/0.4718, allocations: 7.984 kB / 0.7688 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003137/0.4721, allocations: 191.7 kB / 0.769 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002778/0.4724, allocations: 117.8 kB / 0.7691 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.855e-05/0.4725, allocations: 20 kB / 0.7691 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.333e-05/0.4725, allocations: 20 kB / 0.7692 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.4727, allocations: 83.72 kB / 0.7692 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.4728, allocations: 123.4 kB / 0.7694 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.4731, allocations: 293.3 kB / 0.7696 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4731, allocations: 0 / 0.7696 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.116e-06/0.4731, allocations: 3.938 kB / 0.7696 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.4732, allocations: 3.938 kB / 0.7696 GB, free: 0.5469 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.001111/0.4743, allocations: 0.7423 MB / 0.7704 GB, free: 15.72 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.4743, allocations: 12.03 kB / 0.7704 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.4744, allocations: 32.66 kB / 0.7704 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.4747, allocations: 263.6 kB / 0.7707 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.134e-05/0.4748, allocations: 12.38 kB / 0.7707 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.241e-05/0.4748, allocations: 19.92 kB / 0.7707 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.4759, allocations: 197.5 kB / 0.7709 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.4759, allocations: 3.938 kB / 0.7709 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.4759, allocations: 8 kB / 0.7709 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.4759, allocations: 4 kB / 0.7709 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007913/0.4767, allocations: 95.92 kB / 0.771 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.4771, allocations: 317.3 kB / 0.7713 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.4781, allocations: 174.4 kB / 0.7715 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007468/0.4789, allocations: 110.4 kB / 0.7716 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.4789, allocations: 4 kB / 0.7716 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009471/0.4799, allocations: 215.1 kB / 0.7718 GB, free: 14.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.4799, allocations: 4 kB / 0.7718 GB, free: 14.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.00246/0.4824, allocations: 448.5 kB / 0.7722 GB, free: 13.72 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.4824, allocations: 59.41 kB / 0.7723 GB, free: 13.65 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.4827, allocations: 290.9 kB / 0.7725 GB, free: 13.36 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.451e-05/0.4828, allocations: 41.69 kB / 0.7726 GB, free: 13.31 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.4828, allocations: 93.14 kB / 0.7727 GB, free: 13.22 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.362e-05/0.4829, allocations: 43.48 kB / 0.7727 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.483, allocations: 93.48 kB / 0.7728 GB, free: 13.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.4832, allocations: 322.8 kB / 0.7731 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.4833, allocations: 79.95 kB / 0.7732 GB, free: 12.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.4836, allocations: 144.3 kB / 0.7733 GB, free: 12.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.4839, allocations: 223.4 kB / 0.7735 GB, free: 12.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.4839, allocations: 7.938 kB / 0.7735 GB, free: 12.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000645/0.4845, allocations: 400.5 kB / 0.7739 GB, free: 11.85 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.88e-05/0.4846, allocations: 71.39 kB / 0.774 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.4846, allocations: 4 kB / 0.774 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.4846, allocations: 0 / 0.774 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.4848, allocations: 27.92 kB / 0.774 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.4848, allocations: 7.984 kB / 0.774 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004504/0.4853, allocations: 56 kB / 0.7741 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.573e-05/0.4853, allocations: 35.98 kB / 0.7741 GB, free: 11.64 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.0001881/0.4855, allocations: 175.9 kB / 0.7743 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.806e-05/0.4856, allocations: 27.66 kB / 0.7743 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.5e-05/0.4856, allocations: 26.3 kB / 0.7743 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.4856, allocations: 7.938 kB / 0.7743 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4857, allocations: 4 kB / 0.7743 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4857, allocations: 0 / 0.7743 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/0.4878, allocations: 0.6897 MB / 0.775 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4878, allocations: 4 kB / 0.775 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.603e-05/0.4878, allocations: 7.938 kB / 0.775 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.4878, allocations: 0 / 0.775 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/0.4879, allocations: 15.97 kB / 0.775 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.4879, allocations: 4 kB / 0.775 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4879, allocations: 0 / 0.775 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.4896, allocations: 447.4 kB / 0.7755 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.4898, allocations: 160.6 kB / 0.7756 GB, free: 9.984 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.588e-05/0.4899, allocations: 12 kB / 0.7756 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004837/0.4903, allocations: 35.95 kB / 0.7757 GB, free: 9.938 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.4904, allocations: 11.98 kB / 0.7757 GB, free: 9.926 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.234e-05/0.4905, allocations: 43.92 kB / 0.7757 GB, free: 9.883 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001914/0.4907, allocations: 209.9 kB / 0.7759 GB, free: 9.676 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4907, allocations: 0 / 0.7759 GB, free: 9.676 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003225/0.491, allocations: 52 kB / 0.776 GB, free: 9.625 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.0001525/0.4912, allocations: 115.2 kB / 0.7761 GB, free: 9.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001161/0.4923, allocations: 382.5 kB / 0.7764 GB, free: 9.102 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4923, allocations: 0 / 0.7764 GB, free: 9.102 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007807/0.4931, allocations: 114.9 kB / 0.7766 GB, free: 8.992 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.4935, allocations: 24.62 kB / 0.7766 GB, free: 8.969 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.4948, allocations: 424.1 kB / 0.777 GB, free: 8.527 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.4951, allocations: 0.7477 MB / 0.7777 GB, free: 7.754 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.994e-05/0.4951, allocations: 21 kB / 0.7777 GB, free: 7.734 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.586e-05/0.4952, allocations: 15.42 kB / 0.7778 GB, free: 7.719 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4952, allocations: 0 / 0.7778 GB, free: 7.719 MB / 0.545 GB Notification: Performance of Templates: time 0.007269/0.5025, allocations: 3.643 MB / 0.7813 GB, free: 4.121 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)