Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 103.9 kB / 16.27 MB, free: 5.93 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.00207/0.00207, allocations: 190.3 kB / 17.2 MB, free: 5.574 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.394/1.394, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7708/0.7708, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 67.89 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4156, allocations: 77.91 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.002854/0.4185, allocations: 1.512 MB / 0.5687 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.4199, allocations: 0.5454 MB / 0.5693 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.191e-05/0.42, allocations: 1.531 kB / 0.5693 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.4201, allocations: 10.48 kB / 0.5693 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.4203, allocations: 23.39 kB / 0.5693 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008015/0.4211, allocations: 311.5 kB / 0.5696 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006028/0.4217, allocations: 0.498 MB / 0.5701 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.727e-05/0.4217, allocations: 19.52 kB / 0.5701 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000379/0.4221, allocations: 270 kB / 0.5704 GB, free: 30.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002808/0.4224, allocations: 135.3 kB / 0.5705 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.4225, allocations: 28.12 kB / 0.5705 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.4226, allocations: 26.72 kB / 0.5706 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.4228, allocations: 115.1 kB / 0.5707 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.423, allocations: 187.4 kB / 0.5708 GB, free: 30.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005076/0.4235, allocations: 429 kB / 0.5713 GB, free: 30.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4236, allocations: 0 / 0.5713 GB, free: 30.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4236, allocations: 1.562 kB / 0.5713 GB, free: 30.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.4236, allocations: 0 / 0.5713 GB, free: 30.48 MB / 446.1 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.001158/0.4247, allocations: 0.8689 MB / 0.5721 GB, free: 29.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.4248, allocations: 9.219 kB / 0.5721 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.236e-05/0.4249, allocations: 40.67 kB / 0.5722 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.425, allocations: 51.83 kB / 0.5722 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.4253, allocations: 304.8 kB / 0.5725 GB, free: 29.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.967e-05/0.4254, allocations: 18.67 kB / 0.5725 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.057e-05/0.4255, allocations: 30.67 kB / 0.5725 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.4267, allocations: 209.3 kB / 0.5727 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.4267, allocations: 3.938 kB / 0.5727 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.068e-05/0.4267, allocations: 3.109 kB / 0.5727 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.4268, allocations: 1.781 kB / 0.5727 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008138/0.4276, allocations: 103.3 kB / 0.5728 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006573/0.4282, allocations: 395.8 kB / 0.5732 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.4294, allocations: 186.5 kB / 0.5734 GB, free: 29.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008014/0.4302, allocations: 109.4 kB / 0.5735 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.823e-05/0.4303, allocations: 3.812 kB / 0.5735 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.4313, allocations: 223 kB / 0.5737 GB, free: 28.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.585e-06/0.4313, allocations: 0 / 0.5737 GB, free: 28.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002743/0.434, allocations: 488.7 kB / 0.5742 GB, free: 28.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.4341, allocations: 59.86 kB / 0.5742 GB, free: 28.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006658/0.4348, allocations: 414.4 kB / 0.5746 GB, free: 28.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.23e-05/0.4349, allocations: 40.92 kB / 0.5747 GB, free: 28.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.382e-05/0.435, allocations: 91.31 kB / 0.5748 GB, free: 28.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.435, allocations: 42.62 kB / 0.5748 GB, free: 28.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002685/0.4353, allocations: 133.6 kB / 0.5749 GB, free: 28.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.791e-05/0.4354, allocations: 321.3 kB / 0.5752 GB, free: 28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/0.4357, allocations: 117 kB / 0.5754 GB, free: 27.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/0.4361, allocations: 174.2 kB / 0.5755 GB, free: 27.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003754/0.4365, allocations: 279.3 kB / 0.5758 GB, free: 27.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4365, allocations: 0 / 0.5758 GB, free: 27.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007942/0.4373, allocations: 492.4 kB / 0.5763 GB, free: 27.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.041e-05/0.4374, allocations: 98 kB / 0.5763 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4374, allocations: 2.875 kB / 0.5763 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.4374, allocations: 8.188 kB / 0.5764 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.4376, allocations: 23.45 kB / 0.5764 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.4376, allocations: 4.203 kB / 0.5764 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005754/0.4382, allocations: 64.48 kB / 0.5764 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.4383, allocations: 62.97 kB / 0.5765 GB, free: 27.37 MB / 446.1 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 (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.0003035/0.4387, allocations: 196.5 kB / 0.5767 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.01e-05/0.4387, allocations: 41.45 kB / 0.5767 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.464e-05/0.4388, allocations: 42.89 kB / 0.5768 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.4388, allocations: 1.375 kB / 0.5768 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.4388, allocations: 0 / 0.5768 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.4389, allocations: 3 kB / 0.5768 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002601/0.4415, allocations: 0.7453 MB / 0.5775 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.4415, allocations: 0 / 0.5775 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.085e-05/0.4415, allocations: 5.812 kB / 0.5775 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.4415, allocations: 1.375 kB / 0.5775 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.217e-05/0.4416, allocations: 20.86 kB / 0.5775 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.4416, allocations: 2.391 kB / 0.5775 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4416, allocations: 0.625 kB / 0.5775 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/0.4437, allocations: 478.6 kB / 0.578 GB, free: 26.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003628/0.4441, allocations: 202.9 kB / 0.5782 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.4442, allocations: 14.39 kB / 0.5782 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007376/0.445, allocations: 28.06 kB / 0.5782 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-05/0.4451, allocations: 12.86 kB / 0.5782 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/0.4452, allocations: 57.72 kB / 0.5783 GB, free: 26.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005355/0.4457, allocations: 294.3 kB / 0.5786 GB, free: 26.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4458, allocations: 0 / 0.5786 GB, free: 26.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008263/0.4466, allocations: 65.05 kB / 0.5786 GB, free: 26.3 MB / 446.1 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) * 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.003265/0.4499, allocations: 1.031 MB / 0.5796 GB, free: 25.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001989/0.4519, allocations: 450.2 kB / 0.5801 GB, free: 25.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4519, allocations: 0.5312 kB / 0.5801 GB, free: 25.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008325/0.4528, allocations: 119.9 kB / 0.5802 GB, free: 25.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.4532, allocations: 20.83 kB / 0.5802 GB, free: 25.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004178/0.4574, allocations: 2.787 MB / 0.5829 GB, free: 23.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.4577, allocations: 0.7719 MB / 0.5837 GB, free: 22.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.969e-05/0.4578, allocations: 19.14 kB / 0.5837 GB, free: 22.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.188e-05/0.4578, allocations: 21.95 kB / 0.5837 GB, free: 22.41 MB / 446.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4579, allocations: 2.156 kB / 0.5837 GB, free: 22.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/0.4829, allocations: 6.097 MB / 0.5897 GB, free: 19.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.026/8.509, allocations: 11.38 kB / 0.5897 GB, free: 19.1 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)