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.00136/0.00136, allocations: 110.3 kB / 16.41 MB, free: 6.496 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.001256/0.001256, allocations: 189.2 kB / 17.34 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003614/0.003614, allocations: 292.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.2 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002756/0.002756, allocations: 99.83 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5072/0.51, allocations: 86.97 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002762/0.5127, allocations: 1.484 MB / 0.7685 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.5138, allocations: 433.1 kB / 0.7689 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.613e-05/0.5138, allocations: 4 kB / 0.7689 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.5139, allocations: 7.875 kB / 0.7689 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.514, allocations: 28.22 kB / 0.769 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007311/0.5148, allocations: 245.9 kB / 0.7692 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004275/0.5152, allocations: 315.5 kB / 0.7695 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.5152, allocations: 4 kB / 0.7695 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002983/0.5155, allocations: 199.6 kB / 0.7697 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.5158, allocations: 116.1 kB / 0.7698 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.782e-05/0.5158, allocations: 20 kB / 0.7698 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.427e-05/0.5159, allocations: 20 kB / 0.7698 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.516, allocations: 79.72 kB / 0.7699 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.5162, allocations: 131.4 kB / 0.77 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003571/0.5165, allocations: 284.6 kB / 0.7703 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.5165, allocations: 0 / 0.7703 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5165, allocations: 0 / 0.7703 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.5165, allocations: 0 / 0.7703 GB, free: 0.5938 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.001223/0.5178, allocations: 0.7643 MB / 0.771 GB, free: 15.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.5178, allocations: 12.03 kB / 0.7711 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.752e-05/0.5179, allocations: 28.8 kB / 0.7711 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.5183, allocations: 267.8 kB / 0.7713 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.891e-05/0.5183, allocations: 12.38 kB / 0.7714 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.078e-05/0.5184, allocations: 19.94 kB / 0.7714 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.5194, allocations: 207.6 kB / 0.7716 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.5194, allocations: 0 / 0.7716 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.5194, allocations: 4 kB / 0.7716 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.5194, allocations: 0 / 0.7716 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007929/0.5202, allocations: 95.86 kB / 0.7717 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.5206, allocations: 325.3 kB / 0.772 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.5217, allocations: 162.4 kB / 0.7721 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007648/0.5225, allocations: 100.8 kB / 0.7722 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.5225, allocations: 12.34 kB / 0.7722 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.5235, allocations: 207.2 kB / 0.7724 GB, free: 14.21 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.5235, allocations: 3.938 kB / 0.7724 GB, free: 14.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002633/0.5262, allocations: 448.4 kB / 0.7729 GB, free: 13.76 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.5262, allocations: 63.39 kB / 0.7729 GB, free: 13.69 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/0.5266, allocations: 291 kB / 0.7732 GB, free: 13.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.242e-05/0.5266, allocations: 37.7 kB / 0.7732 GB, free: 13.36 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.129e-05/0.5267, allocations: 93.12 kB / 0.7733 GB, free: 13.26 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.601e-05/0.5268, allocations: 43.62 kB / 0.7734 GB, free: 13.22 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.5269, allocations: 93.58 kB / 0.7735 GB, free: 13.12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.5271, allocations: 326.8 kB / 0.7738 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.5273, allocations: 75.95 kB / 0.7738 GB, free: 12.72 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.5275, allocations: 144.3 kB / 0.774 GB, free: 12.56 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/0.5279, allocations: 241.3 kB / 0.7742 GB, free: 12.29 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.5279, allocations: 3.938 kB / 0.7742 GB, free: 12.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007302/0.5286, allocations: 392.7 kB / 0.7746 GB, free: 11.88 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.5288, allocations: 71.39 kB / 0.7747 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.5288, allocations: 0 / 0.7747 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.5288, allocations: 4 kB / 0.7747 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.529, allocations: 19.98 kB / 0.7747 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.529, allocations: 4.125 kB / 0.7747 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004508/0.5294, allocations: 59.84 kB / 0.7747 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.048e-05/0.5295, allocations: 43.98 kB / 0.7748 GB, free: 11.67 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.0002189/0.5297, allocations: 168 kB / 0.7749 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.5298, allocations: 23.86 kB / 0.775 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.118e-05/0.5298, allocations: 34.3 kB / 0.775 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-06/0.5298, allocations: 3.938 kB / 0.775 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5298, allocations: 0 / 0.775 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5298, allocations: 7.938 kB / 0.775 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.532, allocations: 0.6936 MB / 0.7757 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.532, allocations: 0 / 0.7757 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/0.5321, allocations: 7.938 kB / 0.7757 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.5321, allocations: 0 / 0.7757 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.099e-05/0.5321, allocations: 19.97 kB / 0.7757 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5321, allocations: 0 / 0.7757 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5321, allocations: 0 / 0.7757 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.5338, allocations: 455.5 kB / 0.7762 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/0.534, allocations: 160.8 kB / 0.7763 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.933e-05/0.5341, allocations: 8 kB / 0.7763 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004607/0.5345, allocations: 35.89 kB / 0.7763 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.5346, allocations: 12 kB / 0.7764 GB, free: 9.961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.176e-05/0.5346, allocations: 51.91 kB / 0.7764 GB, free: 9.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002263/0.5349, allocations: 209.9 kB / 0.7766 GB, free: 9.703 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.5349, allocations: 0 / 0.7766 GB, free: 9.703 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000321/0.5352, allocations: 44 kB / 0.7767 GB, free: 9.66 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.0001654/0.5353, allocations: 125 kB / 0.7768 GB, free: 9.527 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001163/0.5365, allocations: 354.5 kB / 0.7771 GB, free: 9.156 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5365, allocations: 0 / 0.7771 GB, free: 9.156 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007483/0.5373, allocations: 107.1 kB / 0.7772 GB, free: 9.055 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.5376, allocations: 27.06 kB / 0.7772 GB, free: 9.031 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.539, allocations: 431.3 kB / 0.7776 GB, free: 8.582 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.5394, allocations: 0.7435 MB / 0.7784 GB, free: 7.812 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.165e-05/0.5395, allocations: 13.08 kB / 0.7784 GB, free: 7.801 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.37e-05/0.5395, allocations: 11.44 kB / 0.7784 GB, free: 7.789 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.5395, allocations: 0 / 0.7784 GB, free: 7.789 MB / 0.545 GB Notification: Performance of Templates: time 0.008921/0.5484, allocations: 3.646 MB / 0.782 GB, free: 4.184 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)