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: translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 103.1 kB / 16.27 MB, free: 6.352 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.001276/0.001276, allocations: 191.4 kB / 17.2 MB, free: 5.953 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.486/1.486, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8402/0.8402, allocations: 126.7 MB / 417.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002212, allocations: 67.89 kB / 0.4958 GB, free: 2.805 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3893, allocations: 78.85 MB / 0.5727 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.002567/0.3919, allocations: 1.512 MB / 0.5742 GB, free: 29.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.393, allocations: 0.5443 MB / 0.5748 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.394e-05/0.3931, allocations: 3.938 kB / 0.5748 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.751e-05/0.3932, allocations: 6.953 kB / 0.5748 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.3933, allocations: 27.03 kB / 0.5748 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007287/0.3941, allocations: 317 kB / 0.5751 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000524/0.3946, allocations: 0.4941 MB / 0.5756 GB, free: 28.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.771e-05/0.3947, allocations: 11.05 kB / 0.5756 GB, free: 28.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003389/0.395, allocations: 271.2 kB / 0.5758 GB, free: 28.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002674/0.3953, allocations: 135.1 kB / 0.576 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.3954, allocations: 27.72 kB / 0.576 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.471e-05/0.3955, allocations: 27.5 kB / 0.576 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.3956, allocations: 114.8 kB / 0.5761 GB, free: 28.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.3958, allocations: 190.9 kB / 0.5763 GB, free: 28.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004189/0.3963, allocations: 421.5 kB / 0.5767 GB, free: 28.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3963, allocations: 0 / 0.5767 GB, free: 28.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3963, allocations: 1.031 kB / 0.5767 GB, free: 28.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.3963, allocations: 1.375 kB / 0.5767 GB, free: 28.53 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.001123/0.3974, allocations: 0.8686 MB / 0.5776 GB, free: 27.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3975, allocations: 9.625 kB / 0.5776 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.3976, allocations: 56.94 kB / 0.5776 GB, free: 27.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.3979, allocations: 301.8 kB / 0.5779 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.569e-05/0.398, allocations: 18.42 kB / 0.5779 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.14e-05/0.3981, allocations: 27.48 kB / 0.578 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009378/0.399, allocations: 217.3 kB / 0.5782 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.399, allocations: 1.188 kB / 0.5782 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.3991, allocations: 9.359 kB / 0.5782 GB, free: 27.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.3991, allocations: 1.312 kB / 0.5782 GB, free: 27.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007335/0.3998, allocations: 99.73 kB / 0.5783 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.4002, allocations: 395.7 kB / 0.5787 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.4012, allocations: 179.7 kB / 0.5788 GB, free: 26.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007271/0.4019, allocations: 107.5 kB / 0.5789 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.402, allocations: 6.719 kB / 0.5789 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000894/0.4029, allocations: 229.3 kB / 0.5792 GB, free: 26.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.4029, allocations: 0 / 0.5792 GB, free: 26.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002516/0.4054, allocations: 487.6 kB / 0.5796 GB, free: 26.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.4054, allocations: 59.53 kB / 0.5797 GB, free: 26.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/0.4058, allocations: 414.3 kB / 0.5801 GB, free: 26.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.898e-05/0.4058, allocations: 45.41 kB / 0.5801 GB, free: 26.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.4059, allocations: 93.61 kB / 0.5802 GB, free: 25.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.4059, allocations: 38.05 kB / 0.5802 GB, free: 25.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.4061, allocations: 133.6 kB / 0.5804 GB, free: 25.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.962e-05/0.4062, allocations: 319.6 kB / 0.5807 GB, free: 25.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/0.4064, allocations: 119.4 kB / 0.5808 GB, free: 25.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.4067, allocations: 171.8 kB / 0.581 GB, free: 25.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.407, allocations: 276.9 kB / 0.5812 GB, free: 25.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.407, allocations: 4.438 kB / 0.5812 GB, free: 25.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007206/0.4077, allocations: 494.9 kB / 0.5817 GB, free: 24.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.889e-05/0.4078, allocations: 93 kB / 0.5818 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.4078, allocations: 5.25 kB / 0.5818 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.4078, allocations: 2.281 kB / 0.5818 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.408, allocations: 27.02 kB / 0.5818 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.408, allocations: 2.969 kB / 0.5818 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004954/0.4085, allocations: 66.31 kB / 0.5819 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-05/0.4086, allocations: 55.8 kB / 0.5819 GB, free: 24.79 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.0001959/0.4088, allocations: 191.2 kB / 0.5821 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-05/0.4089, allocations: 43.47 kB / 0.5822 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.75e-05/0.4089, allocations: 42.7 kB / 0.5822 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.409, allocations: 1.531 kB / 0.5822 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.409, allocations: 1.594 kB / 0.5822 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.409, allocations: 0 / 0.5822 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/0.411, allocations: 0.7492 MB / 0.5829 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.411, allocations: 0 / 0.5829 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.443e-05/0.4111, allocations: 13.05 kB / 0.5829 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.4111, allocations: 0 / 0.5829 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.4111, allocations: 23.84 kB / 0.583 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.4111, allocations: 1.406 kB / 0.583 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4111, allocations: 0 / 0.583 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.4128, allocations: 473.3 kB / 0.5834 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.413, allocations: 203.8 kB / 0.5836 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.243e-05/0.4131, allocations: 9.25 kB / 0.5836 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004802/0.4135, allocations: 33.69 kB / 0.5837 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.4136, allocations: 12.23 kB / 0.5837 GB, free: 23.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-05/0.4137, allocations: 61.69 kB / 0.5837 GB, free: 23.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002546/0.4139, allocations: 294.6 kB / 0.584 GB, free: 23.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4139, allocations: 0 / 0.584 GB, free: 23.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003626/0.4143, allocations: 63.31 kB / 0.5841 GB, free: 23.41 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.0001189/0.4144, allocations: 119.3 kB / 0.5842 GB, free: 23.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.4156, allocations: 451.6 kB / 0.5846 GB, free: 23.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4156, allocations: 3.938 kB / 0.5846 GB, free: 23.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007521/0.4164, allocations: 120.6 kB / 0.5847 GB, free: 22.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.4167, allocations: 31.48 kB / 0.5848 GB, free: 22.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.4181, allocations: 0.5505 MB / 0.5853 GB, free: 22.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.4183, allocations: 0.7772 MB / 0.5861 GB, free: 21.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.63e-05/0.4184, allocations: 10.06 kB / 0.5861 GB, free: 21.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.4184, allocations: 17.95 kB / 0.5861 GB, free: 21.87 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4184, allocations: 1.438 kB / 0.5861 GB, free: 21.87 MB / 446.1 MB Notification: Performance of Templates: time 0.008284/0.4267, allocations: 4.945 MB / 0.5909 GB, free: 18.68 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)