Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 103.9 kB / 15.98 MB, free: 6.328 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.001172/0.001172, allocations: 196.4 kB / 16.91 MB, free: 6.168 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.388/1.388, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7678/0.7678, allocations: 122.9 MB / 413.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.91 kB / 0.4906 GB, free: 7.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3809, allocations: 77.93 MB / 0.5667 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003755/0.3847, allocations: 1.565 MB / 0.5682 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.3861, allocations: 0.5428 MB / 0.5687 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.186e-05/0.3862, allocations: 0 / 0.5687 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.3863, allocations: 5.344 kB / 0.5687 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.3865, allocations: 24.16 kB / 0.5688 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.3875, allocations: 282.2 kB / 0.569 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008254/0.3884, allocations: 0.5145 MB / 0.5695 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.372e-05/0.3884, allocations: 4.984 kB / 0.5695 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007074/0.3891, allocations: 330.7 kB / 0.5699 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004899/0.3896, allocations: 171.4 kB / 0.57 GB, free: 30.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001617/0.3898, allocations: 26.84 kB / 0.57 GB, free: 30.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.3899, allocations: 30.16 kB / 0.5701 GB, free: 30.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.3901, allocations: 120.4 kB / 0.5702 GB, free: 30.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002925/0.3904, allocations: 199.1 kB / 0.5704 GB, free: 30.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006141/0.391, allocations: 427.8 kB / 0.5708 GB, free: 30.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3911, allocations: 0.5625 kB / 0.5708 GB, free: 30.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3911, allocations: 0 / 0.5708 GB, free: 30.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.3911, allocations: 1.781 kB / 0.5708 GB, free: 30.38 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.001789/0.3929, allocations: 0.8677 MB / 0.5716 GB, free: 29.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.3929, allocations: 10.72 kB / 0.5716 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.3932, allocations: 52.73 kB / 0.5717 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004674/0.3937, allocations: 306.2 kB / 0.572 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.897e-05/0.3937, allocations: 17.41 kB / 0.572 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.3938, allocations: 29.08 kB / 0.572 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.395, allocations: 220.1 kB / 0.5722 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.395, allocations: 192 / 0.5722 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/0.395, allocations: 6.938 kB / 0.5723 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.395, allocations: 1.5 kB / 0.5723 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000821/0.3959, allocations: 100.6 kB / 0.5724 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006389/0.3965, allocations: 393.3 kB / 0.5727 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.3976, allocations: 178 kB / 0.5729 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000794/0.3984, allocations: 110.1 kB / 0.573 GB, free: 28.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.3985, allocations: 3.969 kB / 0.573 GB, free: 28.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/0.3996, allocations: 225.3 kB / 0.5732 GB, free: 28.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/0.3996, allocations: 1.125 kB / 0.5732 GB, free: 28.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002926/0.4026, allocations: 488.1 kB / 0.5737 GB, free: 28.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.4026, allocations: 66.77 kB / 0.5737 GB, free: 28.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00059/0.4032, allocations: 410.8 kB / 0.5741 GB, free: 28.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.868e-05/0.4033, allocations: 40.58 kB / 0.5742 GB, free: 28.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.943e-05/0.4034, allocations: 96.27 kB / 0.5743 GB, free: 28.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/0.4035, allocations: 36.56 kB / 0.5743 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002642/0.4037, allocations: 135.2 kB / 0.5744 GB, free: 28.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.411e-05/0.4038, allocations: 320.8 kB / 0.5747 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.4041, allocations: 123.2 kB / 0.5749 GB, free: 27.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.4045, allocations: 167.7 kB / 0.575 GB, free: 27.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003942/0.4049, allocations: 276.4 kB / 0.5753 GB, free: 27.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4049, allocations: 4.031 kB / 0.5753 GB, free: 27.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009803/0.4059, allocations: 497.7 kB / 0.5758 GB, free: 27.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.406, allocations: 91.11 kB / 0.5758 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.406, allocations: 9.266 kB / 0.5759 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.214e-05/0.4061, allocations: 1.75 kB / 0.5759 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.4063, allocations: 26.75 kB / 0.5759 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.4063, allocations: 3.594 kB / 0.5759 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000712/0.4071, allocations: 65.92 kB / 0.576 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/0.4072, allocations: 59.31 kB / 0.576 GB, free: 27.3 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.0004041/0.4076, allocations: 191.3 kB / 0.5762 GB, free: 27.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.4077, allocations: 42.06 kB / 0.5762 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.234e-05/0.4078, allocations: 41.89 kB / 0.5763 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.4079, allocations: 2.25 kB / 0.5763 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.4079, allocations: 1.375 kB / 0.5763 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.4079, allocations: 1.719 kB / 0.5763 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0028/0.4107, allocations: 0.7469 MB / 0.577 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.403e-06/0.4107, allocations: 0 / 0.577 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.844e-05/0.4108, allocations: 7.125 kB / 0.577 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.4108, allocations: 1.188 kB / 0.577 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-05/0.4109, allocations: 22.62 kB / 0.577 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.4109, allocations: 5.312 kB / 0.577 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.4109, allocations: 0.6562 kB / 0.577 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/0.4131, allocations: 481.2 kB / 0.5775 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.4135, allocations: 197.4 kB / 0.5777 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.4136, allocations: 9.812 kB / 0.5777 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005104/0.4141, allocations: 35.56 kB / 0.5777 GB, free: 26.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.4142, allocations: 8.672 kB / 0.5777 GB, free: 26.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.445e-05/0.4143, allocations: 59.27 kB / 0.5778 GB, free: 26.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004486/0.4147, allocations: 298.2 kB / 0.5781 GB, free: 26.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.4147, allocations: 2.5 kB / 0.5781 GB, free: 26.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006052/0.4153, allocations: 65 kB / 0.5781 GB, free: 26.22 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.000173/0.4155, allocations: 113.5 kB / 0.5783 GB, free: 26.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.4172, allocations: 452.6 kB / 0.5787 GB, free: 25.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4172, allocations: 0 / 0.5787 GB, free: 25.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008264/0.418, allocations: 118.9 kB / 0.5788 GB, free: 25.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.4185, allocations: 32.84 kB / 0.5788 GB, free: 25.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.4203, allocations: 0.6732 MB / 0.5795 GB, free: 25.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.4207, allocations: 0.7658 MB / 0.5802 GB, free: 24.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.967e-05/0.4208, allocations: 14.19 kB / 0.5802 GB, free: 24.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.857e-05/0.4208, allocations: 21.02 kB / 0.5803 GB, free: 24.76 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4209, allocations: 0 / 0.5803 GB, free: 24.76 MB / 446.1 MB Notification: Performance of Templates: time 0.0125/0.4334, allocations: 5.101 MB / 0.5852 GB, free: 22 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)