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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001187/0.001187, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001419/0.001419, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.3 MB / 240 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.736/2.736, allocations: 437.7 MB / 0.7117 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004256/0.0004258, allocations: 12 kB / 0.8722 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8459/0.8464, allocations: 153.8 MB / 1.022 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.001926/0.8483, allocations: 1.436 MB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.8496, allocations: 0.6125 MB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.237e-05/0.8497, allocations: 0 / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.818e-05/0.8498, allocations: 7.922 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.8499, allocations: 35.84 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006735/0.8506, allocations: 251.6 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004317/0.851, allocations: 479.3 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.404e-05/0.8511, allocations: 29.09 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004507/0.8516, allocations: 327.3 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.8519, allocations: 191.6 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.142e-05/0.8519, allocations: 16 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.006e-05/0.852, allocations: 16 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.8521, allocations: 115.7 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.944e-05/0.8522, allocations: 105.5 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003879/0.8526, allocations: 476.8 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.8526, allocations: 0 / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8526, allocations: 0 / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.8527, allocations: 0 / 1.026 GB, free: 11.95 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.0009929/0.8537, allocations: 0.7846 MB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.8537, allocations: 16.52 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.8538, allocations: 47.53 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003697/0.8542, allocations: 325.1 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.546e-05/0.8543, allocations: 27.94 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.45e-05/0.8543, allocations: 31.98 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008914/0.8552, allocations: 241.4 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.8553, allocations: 0 / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.8553, allocations: 4 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.8553, allocations: 4 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007069/0.856, allocations: 135.8 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.8572, allocations: 0.6723 MB / 1.029 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009327/0.8581, allocations: 210.4 kB / 1.029 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006684/0.8588, allocations: 120.8 kB / 1.029 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.8588, allocations: 8 kB / 1.029 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008566/0.8597, allocations: 240.5 kB / 1.029 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.8597, allocations: 4 kB / 1.029 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002256/0.862, allocations: 0.5115 MB / 1.03 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.862, allocations: 67.39 kB / 1.03 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004589/0.8625, allocations: 441.8 kB / 1.03 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.403e-05/0.8625, allocations: 41.7 kB / 1.03 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.676e-05/0.8626, allocations: 105.3 kB / 1.03 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/0.8627, allocations: 39.59 kB / 1.03 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.8627, allocations: 7.984 kB / 1.03 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.8629, allocations: 330.8 kB / 1.031 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002877/0.8632, allocations: 135.9 kB / 1.031 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.8635, allocations: 197.9 kB / 1.031 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.8638, allocations: 208.9 kB / 1.031 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.8638, allocations: 3.938 kB / 1.031 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008222/0.8646, allocations: 0.5279 MB / 1.032 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.072e-05/0.8647, allocations: 99.33 kB / 1.032 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.8647, allocations: 4 kB / 1.032 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.8648, allocations: 0 / 1.032 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.8649, allocations: 27.91 kB / 1.032 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/0.865, allocations: 4 kB / 1.032 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/0.8654, allocations: 71.92 kB / 1.032 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.337e-05/0.8655, allocations: 55.98 kB / 1.032 GB, free: 5.953 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 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002612/0.8658, allocations: 220.3 kB / 1.032 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/0.8658, allocations: 35.53 kB / 1.032 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.592e-05/0.8659, allocations: 47.75 kB / 1.032 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.8659, allocations: 4 kB / 1.032 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.8659, allocations: 0 / 1.032 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.8659, allocations: 3.984 kB / 1.032 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.8679, allocations: 0.8026 MB / 1.033 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.8679, allocations: 11.94 kB / 1.033 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.332e-05/0.868, allocations: 8 kB / 1.033 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.868, allocations: 0 / 1.033 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/0.868, allocations: 27.95 kB / 1.033 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.868, allocations: 0 / 1.033 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.868, allocations: 0 / 1.033 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.8696, allocations: 490.9 kB / 1.034 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002778/0.8699, allocations: 252.3 kB / 1.034 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.734e-05/0.87, allocations: 20 kB / 1.034 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004312/0.8704, allocations: 43.83 kB / 1.034 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.8705, allocations: 11.92 kB / 1.034 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-05/0.8706, allocations: 55.98 kB / 1.034 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003452/0.8709, allocations: 319.1 kB / 1.034 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8709, allocations: 0 / 1.034 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00042/0.8713, allocations: 71.94 kB / 1.034 GB, free: 3.465 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002151/0.8716, allocations: 127.2 kB / 1.034 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001375/0.8729, allocations: 493 kB / 1.035 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.873, allocations: 0 / 1.035 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000686/0.8737, allocations: 128.3 kB / 1.035 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.8741, allocations: 43.58 kB / 1.035 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.8759, allocations: 0.7105 MB / 1.036 GB, free: 1.922 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.8763, allocations: 0.7867 MB / 1.036 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.459e-05/0.8764, allocations: 13.42 kB / 1.036 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.8765, allocations: 15.44 kB / 1.037 GB, free: 1.082 MB / 0.7794 GB Notification: Performance of SimCode: time 4.71e-07/0.8765, allocations: 4 kB / 1.037 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of Templates: time 0.009887/0.8864, allocations: 5.318 MB / 1.042 GB, free: 11.66 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