Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008066/0.008066, allocations: 96.73 kB / 15.73 MB, free: 6.047 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.001533/0.001533, allocations: 196.9 kB / 16.67 MB, free: 5.973 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.886/2.886, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 63.91 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3698, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003449/0.3733, allocations: 1.744 MB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.3748, allocations: 0.6246 MB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.509e-05/0.3749, allocations: 0 / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.375, allocations: 7.875 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001471/0.3752, allocations: 39.72 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.3763, allocations: 359.3 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000971/0.3773, allocations: 0.5931 MB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.3774, allocations: 25.11 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004127/0.3778, allocations: 319.5 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002856/0.3781, allocations: 159.3 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.161e-05/0.3782, allocations: 43.94 kB / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.007e-05/0.3782, allocations: 44 kB / 1.224 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.3784, allocations: 123.6 kB / 1.225 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.3786, allocations: 211 kB / 1.225 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006029/0.3792, allocations: 0.6072 MB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.3792, allocations: 0 / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3792, allocations: 4 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.3792, allocations: 0 / 1.225 GB, free: 8.887 MB / 0.9825 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.001331/0.3805, allocations: 0.9131 MB / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.3806, allocations: 12.03 kB / 1.226 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.3807, allocations: 60.66 kB / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003959/0.3811, allocations: 338.5 kB / 1.227 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.53e-05/0.3812, allocations: 16.38 kB / 1.227 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-05/0.3812, allocations: 32.36 kB / 1.227 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.3823, allocations: 235.7 kB / 1.227 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3823, allocations: 192 / 1.227 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.3824, allocations: 7.938 kB / 1.227 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3824, allocations: 0 / 1.227 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008364/0.3832, allocations: 119.8 kB / 1.227 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.3846, allocations: 0.6759 MB / 1.228 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.3857, allocations: 174.4 kB / 1.228 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007941/0.3865, allocations: 109 kB / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.3865, allocations: 4 kB / 1.228 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009972/0.3875, allocations: 235.2 kB / 1.228 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.994e-06/0.3875, allocations: 0 / 1.228 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002554/0.3901, allocations: 495.7 kB / 1.229 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.3901, allocations: 67.39 kB / 1.229 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005233/0.3907, allocations: 441.9 kB / 1.229 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.621e-05/0.3907, allocations: 41.64 kB / 1.229 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.3909, allocations: 109.3 kB / 1.229 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.579e-05/0.3909, allocations: 43.69 kB / 1.229 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/0.3911, allocations: 137.5 kB / 1.23 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.3913, allocations: 326.8 kB / 1.23 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.3916, allocations: 139.9 kB / 1.23 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003294/0.3919, allocations: 190.9 kB / 1.23 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/0.3924, allocations: 299.1 kB / 1.23 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.3924, allocations: 4 kB / 1.23 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008582/0.3932, allocations: 0.5241 MB / 1.231 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.181e-05/0.3933, allocations: 99.31 kB / 1.231 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3933, allocations: 0 / 1.231 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.3933, allocations: 4 kB / 1.231 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.3935, allocations: 27.92 kB / 1.231 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3935, allocations: 0 / 1.231 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004978/0.394, allocations: 59.78 kB / 1.231 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.614e-05/0.3941, allocations: 68.09 kB / 1.231 GB, free: 2.621 MB / 0.9825 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.0002814/0.3944, allocations: 218.6 kB / 1.231 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.3945, allocations: 39.77 kB / 1.231 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.03e-05/0.3945, allocations: 43.78 kB / 1.231 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3945, allocations: 0 / 1.231 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3945, allocations: 0 / 1.231 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3945, allocations: 4 kB / 1.231 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/0.3968, allocations: 0.7912 MB / 1.232 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3968, allocations: 0 / 1.232 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/0.3968, allocations: 7.984 kB / 1.232 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.3968, allocations: 0 / 1.232 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.734e-05/0.3969, allocations: 19.97 kB / 1.232 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3969, allocations: 7.938 kB / 1.232 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3969, allocations: 0 / 1.232 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.3986, allocations: 485.8 kB / 1.233 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003059/0.399, allocations: 244.6 kB / 1.233 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.79e-05/0.399, allocations: 19.98 kB / 1.233 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005034/0.3995, allocations: 35.91 kB / 1.233 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.3996, allocations: 7.984 kB / 1.233 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-05/0.3996, allocations: 51.98 kB / 1.233 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003422/0.4, allocations: 323.1 kB / 1.233 GB, free: 260 kB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4, allocations: 0 / 1.233 GB, free: 260 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004406/0.4004, allocations: 83.88 kB / 1.233 GB, free: 176 kB / 0.9825 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.0002167/0.4006, allocations: 131.4 kB / 1.234 GB, free: 32 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00136/0.402, allocations: 434.5 kB / 1.234 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.402, allocations: 4.375 kB / 1.234 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007902/0.4028, allocations: 119.8 kB / 1.234 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.4032, allocations: 41.22 kB / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.4049, allocations: 0.6092 MB / 1.235 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.4052, allocations: 0.7864 MB / 1.236 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.431e-05/0.4053, allocations: 13.38 kB / 1.236 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.4054, allocations: 19.42 kB / 1.236 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of SimCode: time 1.062e-06/0.4054, allocations: 0 / 1.236 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of Templates: time 0.009734/0.4151, allocations: 5.431 MB / 1.241 GB, free: 8.426 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches