Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,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.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 104.1 kB / 16.36 MB, free: 6.289 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.001215/0.001216, allocations: 192 kB / 17.29 MB, free: 5.863 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.497/2.497, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 60.22 kB / 0.8707 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.342, allocations: 151.6 MB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003028/0.345, allocations: 1.736 MB / 1.021 GB, free: 8.074 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.3464, allocations: 0.63 MB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.184e-05/0.3465, allocations: 3.938 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.3467, allocations: 11.86 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.3468, allocations: 35.78 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009425/0.3478, allocations: 360.1 kB / 1.022 GB, free: 7.047 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0006924/0.3485, allocations: 0.632 MB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3486, allocations: 37.09 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004489/0.3491, allocations: 311.6 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003381/0.3494, allocations: 160.8 kB / 1.023 GB, free: 5.914 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.3495, allocations: 40 kB / 1.023 GB, free: 5.875 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-05/0.3496, allocations: 40 kB / 1.023 GB, free: 5.836 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.3498, allocations: 123.6 kB / 1.023 GB, free: 5.715 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.35, allocations: 219 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005119/0.3505, allocations: 0.6036 MB / 1.024 GB, free: 4.895 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3505, allocations: 4 kB / 1.024 GB, free: 4.891 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.22e-07/0.3505, allocations: 0 / 1.024 GB, free: 4.891 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.28e-05/0.3505, allocations: 0 / 1.024 GB, free: 4.891 MB / 0.795 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.001248/0.3518, allocations: 0.9015 MB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3518, allocations: 12.88 kB / 1.025 GB, free: 3.887 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.352, allocations: 52.47 kB / 1.025 GB, free: 3.836 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004387/0.3524, allocations: 346.1 kB / 1.025 GB, free: 3.457 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.446e-05/0.3525, allocations: 28.31 kB / 1.025 GB, free: 3.43 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.279e-05/0.3525, allocations: 32.36 kB / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009055/0.3535, allocations: 227.9 kB / 1.025 GB, free: 3.172 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.3535, allocations: 192 / 1.025 GB, free: 3.172 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.3535, allocations: 7.938 kB / 1.025 GB, free: 3.164 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3535, allocations: 4 kB / 1.025 GB, free: 3.16 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007076/0.3542, allocations: 119.9 kB / 1.025 GB, free: 3.043 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.3555, allocations: 0.6719 MB / 1.026 GB, free: 2.32 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009403/0.3565, allocations: 182.5 kB / 1.026 GB, free: 2.133 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006895/0.3572, allocations: 112.8 kB / 1.026 GB, free: 2.02 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.3572, allocations: 0 / 1.026 GB, free: 2.02 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008901/0.3581, allocations: 243.1 kB / 1.026 GB, free: 1.77 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/0.3581, allocations: 0 / 1.026 GB, free: 1.77 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.002334/0.3604, allocations: 498.8 kB / 1.027 GB, free: 1.277 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.3605, allocations: 59.39 kB / 1.027 GB, free: 1.207 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004093/0.3609, allocations: 445.8 kB / 1.027 GB, free: 0.7695 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.691e-05/0.361, allocations: 37.7 kB / 1.027 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.452e-05/0.3611, allocations: 113.3 kB / 1.028 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.3611, allocations: 31.55 kB / 1.028 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.3613, allocations: 137.3 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.3614, allocations: 330.8 kB / 1.028 GB, free: 108 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.3618, allocations: 143.9 kB / 1.028 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/0.3621, allocations: 186.9 kB / 1.028 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003913/0.3625, allocations: 298.7 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.3625, allocations: 0 / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008121/0.3633, allocations: 0.5278 MB / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.422e-05/0.3634, allocations: 95.38 kB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.3634, allocations: 4 kB / 1.029 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3634, allocations: 0 / 1.029 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.3636, allocations: 23.92 kB / 1.029 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3636, allocations: 4 kB / 1.029 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004553/0.3641, allocations: 63.92 kB / 1.029 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.591e-05/0.3642, allocations: 59.97 kB / 1.029 GB, free: 14.63 MB / 0.8106 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.0002365/0.3644, allocations: 220.3 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.489e-05/0.3645, allocations: 35.53 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.213e-05/0.3646, allocations: 43.78 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.3646, allocations: 4 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.3646, allocations: 4 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3646, allocations: 0 / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/0.3667, allocations: 0.7854 MB / 1.03 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.3667, allocations: 0 / 1.03 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.492e-05/0.3667, allocations: 11.94 kB / 1.03 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.3667, allocations: 3.938 kB / 1.03 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.326e-05/0.3668, allocations: 23.97 kB / 1.03 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.3668, allocations: 7.938 kB / 1.03 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3668, allocations: 0 / 1.03 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.3684, allocations: 483.2 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003261/0.3687, allocations: 236.5 kB / 1.031 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-05/0.3688, allocations: 19.98 kB / 1.031 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004396/0.3692, allocations: 31.91 kB / 1.031 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.3693, allocations: 11.97 kB / 1.031 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.841e-05/0.3693, allocations: 63.97 kB / 1.031 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000314/0.3697, allocations: 319.1 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3697, allocations: 0 / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000394/0.3701, allocations: 71.92 kB / 1.032 GB, free: 12.18 MB / 0.8106 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.000209/0.3703, allocations: 131.4 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001297/0.3716, allocations: 478.4 kB / 1.032 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3716, allocations: 0 / 1.032 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007216/0.3723, allocations: 121.9 kB / 1.032 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.3727, allocations: 36.17 kB / 1.032 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.3743, allocations: 0.5989 MB / 1.033 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.3747, allocations: 0.7864 MB / 1.034 GB, free: 9.965 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.308e-05/0.3748, allocations: 13.44 kB / 1.034 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.3749, allocations: 19.42 kB / 1.034 GB, free: 9.934 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.3749, allocations: 0 / 1.034 GB, free: 9.934 MB / 0.8106 GB Notification: Performance of Templates: time 0.009978/0.3849, allocations: 5.416 MB / 1.039 GB, free: 4.426 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches