Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5199/0.5199, allocations: 90.81 MB / 104.5 MB, free: 13.88 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 221.3 MB / 348.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009749/0.000975, allocations: 92.34 kB / 421.2 MB, free: 5.73 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.194e-05/3.209e-05, allocations: 0 / 0.4897 GB, free: 46.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1172, allocations: 72.32 MB / 0.5603 GB, free: 6.312 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4004/0.5176, allocations: 104.2 MB / 0.6621 GB, free: 3.691 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.5179, allocations: 71.39 kB / 0.6621 GB, free: 3.652 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01335/0.5312, allocations: 4.595 MB / 0.6666 GB, free: 15.66 MB / 474.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.5312, allocations: 3.938 kB / 0.6666 GB, free: 15.65 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.5313, allocations: 4 kB / 0.6666 GB, free: 15.65 MB / 474.7 MB 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.0006536/0.5319, allocations: 0.6273 MB / 0.6672 GB, free: 14.96 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.532, allocations: 11.98 kB / 0.6673 GB, free: 14.95 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.755e-05/0.532, allocations: 42.55 kB / 0.6673 GB, free: 14.9 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.59e-05/0.5321, allocations: 35.48 kB / 0.6673 GB, free: 14.87 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.5324, allocations: 250 kB / 0.6676 GB, free: 14.59 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.434e-05/0.5325, allocations: 15.92 kB / 0.6676 GB, free: 14.58 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.554e-05/0.5325, allocations: 16 kB / 0.6676 GB, free: 14.56 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.5328, allocations: 148 kB / 0.6677 GB, free: 14.44 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.5328, allocations: 0 / 0.6677 GB, free: 14.44 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.5329, allocations: 4 kB / 0.6677 GB, free: 14.43 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.5329, allocations: 3.938 kB / 0.6678 GB, free: 14.43 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.533, allocations: 49 kB / 0.6678 GB, free: 14.39 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.5333, allocations: 337.3 kB / 0.6681 GB, free: 14.07 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.5335, allocations: 112.6 kB / 0.6682 GB, free: 13.98 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.5336, allocations: 58.78 kB / 0.6683 GB, free: 13.94 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.5337, allocations: 4 kB / 0.6683 GB, free: 13.93 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.5339, allocations: 169 kB / 0.6684 GB, free: 13.79 MB / 474.7 MB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.5339, allocations: 0 / 0.6684 GB, free: 13.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004718/0.5344, allocations: 246.8 kB / 0.6687 GB, free: 13.57 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.5345, allocations: 71.14 kB / 0.6688 GB, free: 13.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.5347, allocations: 256 kB / 0.669 GB, free: 13.28 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.5347, allocations: 39.39 kB / 0.669 GB, free: 13.24 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/0.5348, allocations: 92.88 kB / 0.6691 GB, free: 13.15 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.5349, allocations: 34.23 kB / 0.6692 GB, free: 13.12 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.5349, allocations: 10.98 kB / 0.6692 GB, free: 13.11 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.535, allocations: 322.2 kB / 0.6695 GB, free: 12.79 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.5352, allocations: 86.97 kB / 0.6696 GB, free: 12.73 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.5354, allocations: 140.3 kB / 0.6697 GB, free: 12.61 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.5356, allocations: 150.3 kB / 0.6698 GB, free: 12.47 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5356, allocations: 0 / 0.6698 GB, free: 12.47 MB / 474.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005835/0.5362, allocations: 390 kB / 0.6702 GB, free: 12.14 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.563e-05/0.5363, allocations: 77.88 kB / 0.6703 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.5363, allocations: 4 kB / 0.6703 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.5363, allocations: 192 / 0.6703 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.5365, allocations: 27.92 kB / 0.6703 GB, free: 12.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/0.5365, allocations: 5.016 kB / 0.6703 GB, free: 12.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.5368, allocations: 47.38 kB / 0.6704 GB, free: 11.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.7e-05/0.5369, allocations: 43.36 kB / 0.6704 GB, free: 11.94 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$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 (26): * Single equations (assignments): 24 * 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.0001166/0.537, allocations: 132.2 kB / 0.6705 GB, free: 11.81 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.028e-05/0.537, allocations: 35.61 kB / 0.6706 GB, free: 11.78 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.533e-05/0.5371, allocations: 24.33 kB / 0.6706 GB, free: 11.76 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5371, allocations: 4 kB / 0.6706 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.5371, allocations: 0 / 0.6706 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.5371, allocations: 0 / 0.6706 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007662/0.5379, allocations: 0.5915 MB / 0.6712 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5379, allocations: 4 kB / 0.6712 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.183e-05/0.538, allocations: 0 / 0.6712 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.538, allocations: 8 kB / 0.6712 GB, free: 11.15 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.538, allocations: 15.97 kB / 0.6712 GB, free: 11.13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.538, allocations: 0 / 0.6712 GB, free: 11.13 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.538, allocations: 0 / 0.6712 GB, free: 11.13 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.5384, allocations: 354.9 kB / 0.6715 GB, free: 10.77 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.5386, allocations: 164.7 kB / 0.6717 GB, free: 10.59 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.085e-05/0.5387, allocations: 11.98 kB / 0.6717 GB, free: 10.58 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/0.5391, allocations: 39.97 kB / 0.6717 GB, free: 10.54 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/0.5391, allocations: 4 kB / 0.6717 GB, free: 10.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-05/0.5392, allocations: 39.97 kB / 0.6718 GB, free: 10.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000174/0.5394, allocations: 207.1 kB / 0.672 GB, free: 10.29 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5394, allocations: 0 / 0.672 GB, free: 10.29 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002943/0.5397, allocations: 56 kB / 0.672 GB, free: 10.23 MB / 474.7 MB 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) * 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 (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.0006736/0.5404, allocations: 0.9093 MB / 0.6729 GB, free: 9.305 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004571/0.5408, allocations: 338.6 kB / 0.6732 GB, free: 8.949 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5408, allocations: 0 / 0.6732 GB, free: 8.949 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.541, allocations: 73.59 kB / 0.6733 GB, free: 8.879 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.5412, allocations: 18.23 kB / 0.6733 GB, free: 8.863 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006389/0.5418, allocations: 335.7 kB / 0.6736 GB, free: 8.496 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.5421, allocations: 0.7477 MB / 0.6744 GB, free: 7.723 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.623e-05/0.5422, allocations: 16.77 kB / 0.6744 GB, free: 7.707 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.906e-05/0.5422, allocations: 26.22 kB / 0.6744 GB, free: 7.684 MB / 474.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5422, allocations: 4 kB / 0.6744 GB, free: 7.68 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01559/0.5578, allocations: 4.91 MB / 0.6792 GB, free: 2.895 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/0.5581, allocations: 155.5 kB / 0.6794 GB, free: 2.672 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.373/1.931, allocations: 3.938 kB / 0.6794 GB, free: 2.668 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)