Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001265, allocations: 101.3 kB / 16.37 MB, free: 6.469 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.001275/0.001275, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.518/1.518, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.421/2.421, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 64.53 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3628, allocations: 140.4 MB / 0.9512 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.003822/0.3667, allocations: 1.745 MB / 0.9529 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001703/0.3685, allocations: 0.6226 MB / 0.9535 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.69e-05/0.3686, allocations: 0 / 0.9535 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.3687, allocations: 7.875 kB / 0.9535 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.3689, allocations: 35.78 kB / 0.9535 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.37, allocations: 371.2 kB / 0.9539 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007079/0.3707, allocations: 0.636 MB / 0.9545 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.3709, allocations: 25.11 kB / 0.9545 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004394/0.3713, allocations: 303.6 kB / 0.9548 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000313/0.3716, allocations: 171.5 kB / 0.955 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.572e-05/0.3717, allocations: 40 kB / 0.955 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.002e-05/0.3718, allocations: 40 kB / 0.955 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.372, allocations: 123.7 kB / 0.9552 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002549/0.3722, allocations: 222.9 kB / 0.9554 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006269/0.3729, allocations: 0.592 MB / 0.9559 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3729, allocations: 0 / 0.9559 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3729, allocations: 0 / 0.9559 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.368e-05/0.3729, allocations: 0 / 0.9559 GB, free: 3.098 MB / 0.7325 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.00147/0.3744, allocations: 0.9131 MB / 0.9568 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.3744, allocations: 8.031 kB / 0.9568 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.3746, allocations: 56.38 kB / 0.9569 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005562/0.3751, allocations: 330.2 kB / 0.9572 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.87e-05/0.3752, allocations: 20.36 kB / 0.9572 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.079e-05/0.3753, allocations: 32.36 kB / 0.9573 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009615/0.3763, allocations: 239.8 kB / 0.9575 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3763, allocations: 192 / 0.9575 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.3763, allocations: 15.86 kB / 0.9575 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.3763, allocations: 3.938 kB / 0.9575 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007076/0.3771, allocations: 119.9 kB / 0.9576 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.3786, allocations: 0.6759 MB / 0.9583 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009462/0.3795, allocations: 174.5 kB / 0.9584 GB, free: 344 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006809/0.3802, allocations: 120.8 kB / 0.9586 GB, free: 220 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.3803, allocations: 8 kB / 0.9586 GB, free: 212 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009878/0.3813, allocations: 227.2 kB / 0.9588 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=16): time 2.795e-06/0.3813, allocations: 4 kB / 0.9588 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of matching and sorting (n=16): time 0.00248/0.3838, allocations: 491.5 kB / 0.9593 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/0.3838, allocations: 67.39 kB / 0.9593 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005388/0.3844, allocations: 445.8 kB / 0.9598 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.78e-05/0.3845, allocations: 41.69 kB / 0.9598 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.999e-05/0.3846, allocations: 101.3 kB / 0.9599 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/0.3846, allocations: 39.48 kB / 0.9599 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.3849, allocations: 133.3 kB / 0.9601 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.385, allocations: 334.8 kB / 0.9604 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/0.3853, allocations: 143.9 kB / 0.9605 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.3857, allocations: 193.9 kB / 0.9607 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004152/0.3861, allocations: 291.4 kB / 0.961 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3861, allocations: 0 / 0.961 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009114/0.387, allocations: 0.5241 MB / 0.9615 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.3871, allocations: 91.38 kB / 0.9616 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.3872, allocations: 4 kB / 0.9616 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.3872, allocations: 8.172 kB / 0.9616 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.3874, allocations: 27.92 kB / 0.9616 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.3874, allocations: 4 kB / 0.9616 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004726/0.3879, allocations: 51.8 kB / 0.9617 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.388, allocations: 59.98 kB / 0.9617 GB, free: 12.84 MB / 0.7481 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.0003303/0.3883, allocations: 232.2 kB / 0.9619 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.109e-05/0.3884, allocations: 35.53 kB / 0.962 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.188e-05/0.3885, allocations: 39.8 kB / 0.962 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.3885, allocations: 4 kB / 0.962 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.3885, allocations: 0 / 0.962 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.3885, allocations: 7.922 kB / 0.962 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.3907, allocations: 0.7872 MB / 0.9628 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3908, allocations: 3.984 kB / 0.9628 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.759e-05/0.3908, allocations: 4 kB / 0.9628 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.3908, allocations: 0 / 0.9628 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-05/0.3909, allocations: 19.97 kB / 0.9628 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.3909, allocations: 3.938 kB / 0.9628 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3909, allocations: 0 / 0.9628 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.3925, allocations: 481.4 kB / 0.9633 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003739/0.3929, allocations: 248.4 kB / 0.9635 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.123e-05/0.393, allocations: 16 kB / 0.9635 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004411/0.3935, allocations: 43.89 kB / 0.9636 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.3935, allocations: 7.984 kB / 0.9636 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-05/0.3936, allocations: 59.92 kB / 0.9636 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003276/0.3939, allocations: 319.1 kB / 0.9639 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3939, allocations: 0 / 0.9639 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004541/0.3944, allocations: 68 kB / 0.964 GB, free: 10.39 MB / 0.7481 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.0002462/0.3947, allocations: 128.2 kB / 0.9641 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001342/0.396, allocations: 478.4 kB / 0.9646 GB, free: 9.766 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.396, allocations: 0 / 0.9646 GB, free: 9.766 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006894/0.3967, allocations: 124.3 kB / 0.9647 GB, free: 9.645 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.3972, allocations: 33.53 kB / 0.9647 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.3987, allocations: 0.5931 MB / 0.9653 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.3992, allocations: 0.7901 MB / 0.9661 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.493e-05/0.3993, allocations: 21.41 kB / 0.9661 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.3993, allocations: 23.36 kB / 0.9661 GB, free: 8.137 MB / 0.7481 GB Notification: Performance of SimCode: time 1.403e-06/0.3993, allocations: 0 / 0.9661 GB, free: 8.137 MB / 0.7481 GB Notification: Performance of Templates: time 0.01113/0.4105, allocations: 5.411 MB / 0.9714 GB, free: 2.633 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches