Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 108 kB / 15.6 MB, free: 132 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.001902/0.001902, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.797/2.797, allocations: 437 MB / 0.7103 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 63.91 kB / 0.8692 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6391/0.6405, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.00314/0.6438, allocations: 1.749 MB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.6452, allocations: 0.6168 MB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.857e-05/0.6452, allocations: 0 / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.6454, allocations: 7.875 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.6455, allocations: 43.7 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008083/0.6463, allocations: 362.9 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000567/0.6469, allocations: 0.636 MB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.647, allocations: 33.09 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003605/0.6474, allocations: 299.6 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.6476, allocations: 155.3 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.6478, allocations: 44 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.6479, allocations: 40 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.648, allocations: 127.6 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.6482, allocations: 215 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005179/0.6488, allocations: 0.5978 MB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6488, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6488, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.6488, allocations: 0 / 1.022 GB, free: 13.6 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.0013/0.6501, allocations: 0.9054 MB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.6502, allocations: 15.98 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.6503, allocations: 52.38 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.6507, allocations: 342 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.37e-05/0.6508, allocations: 24.55 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.477e-05/0.6509, allocations: 24.38 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.652, allocations: 235.4 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.652, allocations: 7.938 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.652, allocations: 7.984 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.652, allocations: 0 / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008127/0.6528, allocations: 111.9 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.6541, allocations: 0.6836 MB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.6552, allocations: 182.5 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007929/0.656, allocations: 116.8 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.6561, allocations: 3.984 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/0.6571, allocations: 232.6 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 2.184e-06/0.6571, allocations: 4 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002692/0.6598, allocations: 0.4902 MB / 1.025 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.6599, allocations: 59.34 kB / 1.025 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004744/0.6604, allocations: 445.8 kB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.872e-05/0.6604, allocations: 41.69 kB / 1.026 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.6605, allocations: 105.3 kB / 1.026 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.6606, allocations: 31.59 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.6608, allocations: 137.3 kB / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6609, allocations: 334.7 kB / 1.027 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.6613, allocations: 147.8 kB / 1.027 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003186/0.6616, allocations: 189.9 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003969/0.662, allocations: 307 kB / 1.027 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.662, allocations: 4 kB / 1.027 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008605/0.6629, allocations: 0.5217 MB / 1.028 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.795e-05/0.663, allocations: 101 kB / 1.028 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.663, allocations: 4 kB / 1.028 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.663, allocations: 4 kB / 1.028 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.6632, allocations: 19.92 kB / 1.028 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.6632, allocations: 4 kB / 1.028 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005098/0.6637, allocations: 55.8 kB / 1.028 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.046e-05/0.6638, allocations: 71.91 kB / 1.028 GB, free: 7.309 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.0002372/0.6641, allocations: 220.3 kB / 1.028 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.893e-05/0.6641, allocations: 35.53 kB / 1.028 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.553e-05/0.6642, allocations: 43.78 kB / 1.028 GB, free: 7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.6642, allocations: 4 kB / 1.028 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6642, allocations: 0 / 1.028 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.6642, allocations: 0 / 1.028 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/0.6665, allocations: 0.7919 MB / 1.029 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.6665, allocations: 7.922 kB / 1.029 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.6665, allocations: 8 kB / 1.029 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.6666, allocations: 0 / 1.029 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/0.6666, allocations: 23.91 kB / 1.029 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.6666, allocations: 8 kB / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6666, allocations: 0 / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.6684, allocations: 475.8 kB / 1.029 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002778/0.6687, allocations: 244.4 kB / 1.03 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.112e-05/0.6688, allocations: 23.92 kB / 1.03 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004743/0.6693, allocations: 27.97 kB / 1.03 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.6693, allocations: 11.98 kB / 1.03 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.826e-05/0.6694, allocations: 59.91 kB / 1.03 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003189/0.6697, allocations: 319.1 kB / 1.03 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6698, allocations: 0 / 1.03 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003751/0.6701, allocations: 71.98 kB / 1.03 GB, free: 4.867 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.0002111/0.6704, allocations: 128.2 kB / 1.03 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001393/0.6718, allocations: 475.6 kB / 1.031 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.6718, allocations: 384 / 1.031 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007805/0.6726, allocations: 135.8 kB / 1.031 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.673, allocations: 37.62 kB / 1.031 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.6746, allocations: 0.5945 MB / 1.031 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.675, allocations: 0.7902 MB / 1.032 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.821e-05/0.6751, allocations: 13.42 kB / 1.032 GB, free: 2.625 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.6751, allocations: 19.44 kB / 1.032 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of SimCode: time 6.92e-07/0.6751, allocations: 4 kB / 1.032 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of Templates: time 0.01094/0.6861, allocations: 5.447 MB / 1.038 GB, free: 13.06 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches