Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002036/0.002036, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.574/2.574, allocations: 437 MB / 0.7103 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 67.91 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7436/0.7452, allocations: 151.6 MB / 1.017 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003699/0.749, allocations: 1.736 MB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.7507, allocations: 0.6246 MB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.7508, allocations: 0 / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.751, allocations: 11.81 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001903/0.7512, allocations: 39.72 kB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.7526, allocations: 371.2 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009352/0.7535, allocations: 0.6321 MB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.7537, allocations: 33.11 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006532/0.7544, allocations: 303.6 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004606/0.7548, allocations: 151.3 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001843/0.755, allocations: 40 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.7552, allocations: 48 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.7554, allocations: 127.6 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003419/0.7557, allocations: 215 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009214/0.7567, allocations: 0.5978 MB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.7567, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.737e-06/0.7567, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.022e-05/0.7567, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001715/0.7585, allocations: 0.9015 MB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.7585, allocations: 15.98 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.7587, allocations: 56.38 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004694/0.7592, allocations: 342 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.657e-05/0.7592, allocations: 20.5 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.113e-05/0.7593, allocations: 32.36 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.7604, allocations: 235.7 kB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.7604, allocations: 3.938 kB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.7604, allocations: 7.984 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.497e-06/0.7604, allocations: 7.984 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007916/0.7612, allocations: 111.9 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.7626, allocations: 0.6798 MB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.7636, allocations: 182.4 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007467/0.7644, allocations: 116.8 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.7644, allocations: 7.984 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.7655, allocations: 231.1 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.634e-06/0.7655, allocations: 0 / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002546/0.768, allocations: 498.2 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/0.7681, allocations: 63.34 kB / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005108/0.7686, allocations: 445.8 kB / 1.026 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.966e-05/0.7687, allocations: 41.69 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.7688, allocations: 101.3 kB / 1.026 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.7689, allocations: 35.61 kB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002563/0.7692, allocations: 137.3 kB / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.7693, allocations: 326.7 kB / 1.027 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.7696, allocations: 147.9 kB / 1.027 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/0.77, allocations: 193.9 kB / 1.027 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/0.7704, allocations: 302.6 kB / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.7704, allocations: 3.984 kB / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008935/0.7713, allocations: 0.5179 MB / 1.028 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.509e-05/0.7714, allocations: 99.38 kB / 1.028 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.7714, allocations: 4.188 kB / 1.028 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.7715, allocations: 7.984 kB / 1.028 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.7716, allocations: 19.92 kB / 1.028 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.7716, allocations: 4 kB / 1.028 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000514/0.7722, allocations: 55.86 kB / 1.028 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.892e-05/0.7723, allocations: 67.91 kB / 1.028 GB, free: 7.344 MB / 0.7794 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0002555/0.7725, allocations: 220.3 kB / 1.028 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.86e-05/0.7726, allocations: 35.53 kB / 1.028 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.163e-05/0.7727, allocations: 43.8 kB / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.7727, allocations: 3.984 kB / 1.028 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.7727, allocations: 0 / 1.028 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.7727, allocations: 0 / 1.028 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/0.775, allocations: 0.795 MB / 1.029 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.775, allocations: 7.938 kB / 1.029 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/0.7751, allocations: 7.938 kB / 1.029 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.7751, allocations: 0 / 1.029 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.251e-05/0.7751, allocations: 27.91 kB / 1.029 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.7751, allocations: 0 / 1.029 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.7751, allocations: 4 kB / 1.029 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.7769, allocations: 475.8 kB / 1.029 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.7772, allocations: 248.4 kB / 1.03 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.715e-05/0.7773, allocations: 23.92 kB / 1.03 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004895/0.7778, allocations: 27.97 kB / 1.03 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.7779, allocations: 11.98 kB / 1.03 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.474e-05/0.778, allocations: 51.98 kB / 1.03 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003386/0.7783, allocations: 323.1 kB / 1.03 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7783, allocations: 0 / 1.03 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003634/0.7787, allocations: 67.98 kB / 1.03 GB, free: 4.902 MB / 0.7794 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.000202/0.7789, allocations: 124.2 kB / 1.03 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001486/0.7804, allocations: 483.3 kB / 1.031 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7804, allocations: 0 / 1.031 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.7815, allocations: 130.4 kB / 1.031 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006156/0.7822, allocations: 35.75 kB / 1.031 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.7846, allocations: 0.5984 MB / 1.031 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005722/0.7852, allocations: 0.7902 MB / 1.032 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001027/0.7853, allocations: 17.41 kB / 1.032 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/0.7854, allocations: 15.44 kB / 1.032 GB, free: 2.645 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.7854, allocations: 0 / 1.032 GB, free: 2.645 MB / 0.7794 GB Notification: Performance of Templates: time 0.01521/0.8006, allocations: 5.451 MB / 1.038 GB, free: 13.1 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches