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.00169/0.00169, 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.001987/0.001987, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.52/1.52, 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.893/2.893, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 71.89 kB / 0.8693 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8516/0.8539, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003608/0.8576, allocations: 1.739 MB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.8594, allocations: 0.6207 MB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.8595, allocations: 4 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.8597, allocations: 7.875 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.8599, allocations: 39.72 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.861, allocations: 371.2 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008767/0.8619, allocations: 0.6321 MB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.862, allocations: 33.09 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005459/0.8626, allocations: 303.6 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003611/0.8629, allocations: 151.3 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.8631, allocations: 40 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.8632, allocations: 40 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.8634, allocations: 127.6 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002871/0.8637, allocations: 223 kB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00072/0.8644, allocations: 0.6017 MB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.8644, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8645, allocations: 4 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.754e-05/0.8645, allocations: 0 / 1.022 GB, free: 13.55 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.001703/0.8662, allocations: 0.9015 MB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.8662, allocations: 11.98 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.8664, allocations: 56.38 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004829/0.8669, allocations: 338.1 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.977e-05/0.867, allocations: 20.55 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.244e-05/0.867, allocations: 32.36 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.8681, allocations: 235.3 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.8681, allocations: 3.938 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.8682, allocations: 4 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.8682, allocations: 0 / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008141/0.869, allocations: 119.9 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.8704, allocations: 0.6758 MB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.8715, allocations: 190.5 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008522/0.8724, allocations: 116.8 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.8724, allocations: 0 / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.8735, allocations: 227.4 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.8735, allocations: 0 / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002754/0.8763, allocations: 0.4911 MB / 1.025 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.741e-05/0.8763, allocations: 67.39 kB / 1.026 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005469/0.8769, allocations: 445.8 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.342e-05/0.877, allocations: 45.69 kB / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.8771, allocations: 101.3 kB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/0.8772, allocations: 31.61 kB / 1.026 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/0.8774, allocations: 141.3 kB / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.8776, allocations: 330.7 kB / 1.027 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.8779, allocations: 143.9 kB / 1.027 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.8783, allocations: 193.9 kB / 1.027 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004452/0.8787, allocations: 302.7 kB / 1.027 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.8787, allocations: 0 / 1.027 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009438/0.8797, allocations: 0.5216 MB / 1.028 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.8798, allocations: 96.78 kB / 1.028 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.8798, allocations: 4 kB / 1.028 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.8798, allocations: 3.938 kB / 1.028 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.88, allocations: 28.16 kB / 1.028 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.88, allocations: 4 kB / 1.028 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005212/0.8806, allocations: 51.86 kB / 1.028 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.8807, allocations: 67.86 kB / 1.028 GB, free: 7.277 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.0002954/0.881, allocations: 225 kB / 1.028 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.829e-05/0.8811, allocations: 39.53 kB / 1.028 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.638e-05/0.8811, allocations: 39.8 kB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.8812, allocations: 4 kB / 1.028 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.8812, allocations: 0 / 1.028 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.8812, allocations: 3.984 kB / 1.028 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002385/0.8836, allocations: 0.7909 MB / 1.029 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.8836, allocations: 3.938 kB / 1.029 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.8836, allocations: 7.984 kB / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.8836, allocations: 0 / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.714e-05/0.8837, allocations: 27.91 kB / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.8837, allocations: 3.938 kB / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.8837, allocations: 4 kB / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.8856, allocations: 471.8 kB / 1.029 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003602/0.886, allocations: 248.4 kB / 1.03 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.178e-05/0.8861, allocations: 15.94 kB / 1.03 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004971/0.8866, allocations: 35.95 kB / 1.03 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.8866, allocations: 11.98 kB / 1.03 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.248e-05/0.8867, allocations: 55.98 kB / 1.03 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003803/0.8871, allocations: 319.1 kB / 1.03 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8871, allocations: 0 / 1.03 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004224/0.8875, allocations: 68 kB / 1.03 GB, free: 4.836 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.0002196/0.8877, allocations: 132.2 kB / 1.03 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001589/0.8893, allocations: 487.8 kB / 1.031 GB, free: 4.199 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.8894, allocations: 0 / 1.031 GB, free: 4.199 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008676/0.8902, allocations: 120.2 kB / 1.031 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.8907, allocations: 37.53 kB / 1.031 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.8925, allocations: 0.599 MB / 1.032 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00052/0.893, allocations: 0.7903 MB / 1.032 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.415e-05/0.8931, allocations: 13.42 kB / 1.032 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.8932, allocations: 15.42 kB / 1.032 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of SimCode: time 8.22e-07/0.8932, allocations: 0 / 1.032 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of Templates: time 0.0118/0.905, allocations: 5.449 MB / 1.038 GB, free: 13.03 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=400 -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