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.001498/0.001503, allocations: 107.8 kB / 15.99 MB, free: 6.355 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.001231/0.001232, allocations: 197 kB / 16.91 MB, free: 6.188 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.367/1.367, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.572/2.572, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 63.36 kB / 0.9088 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2788, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002955/0.2818, allocations: 1.793 MB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.283, allocations: 0.6207 MB / 1.067 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.887e-05/0.2831, allocations: 0 / 1.067 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.23e-05/0.2832, allocations: 11.92 kB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.2833, allocations: 31.84 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007074/0.284, allocations: 331.1 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006527/0.2847, allocations: 0.6399 MB / 1.068 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.781e-05/0.2848, allocations: 29.11 kB / 1.068 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004784/0.2853, allocations: 382.9 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.2856, allocations: 183 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.027e-05/0.2856, allocations: 40 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.808e-05/0.2857, allocations: 40 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.2859, allocations: 131.6 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002302/0.2861, allocations: 226.7 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004328/0.2866, allocations: 487.3 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2866, allocations: 8 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2866, allocations: 0 / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2866, allocations: 0 / 1.069 GB, free: 10.15 MB / 0.8419 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.001298/0.2879, allocations: 0.9053 MB / 1.07 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.2879, allocations: 12.03 kB / 1.07 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.2881, allocations: 56.45 kB / 1.07 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003872/0.2885, allocations: 330.2 kB / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.357e-05/0.2885, allocations: 20.55 kB / 1.07 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.857e-05/0.2886, allocations: 32.38 kB / 1.07 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.2896, allocations: 236 kB / 1.071 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.2896, allocations: 3.938 kB / 1.071 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.2897, allocations: 7.922 kB / 1.071 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.2897, allocations: 4 kB / 1.071 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000789/0.2905, allocations: 115.9 kB / 1.071 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.2918, allocations: 0.6875 MB / 1.071 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.2929, allocations: 178.5 kB / 1.071 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007442/0.2936, allocations: 112.8 kB / 1.072 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.2937, allocations: 7.984 kB / 1.072 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009606/0.2946, allocations: 232.4 kB / 1.072 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.2946, allocations: 0 / 1.072 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.002582/0.2972, allocations: 0.4912 MB / 1.072 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.2973, allocations: 59.41 kB / 1.072 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004696/0.2978, allocations: 441.8 kB / 1.073 GB, free: 6.023 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.424e-05/0.2978, allocations: 49.69 kB / 1.073 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.795e-05/0.2979, allocations: 101.3 kB / 1.073 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.032e-05/0.298, allocations: 43.47 kB / 1.073 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/0.2982, allocations: 133.3 kB / 1.073 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2984, allocations: 330.8 kB / 1.073 GB, free: 5.355 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.2987, allocations: 139.9 kB / 1.074 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.299, allocations: 200.1 kB / 1.074 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004229/0.2994, allocations: 298.8 kB / 1.074 GB, free: 4.68 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2995, allocations: 0 / 1.074 GB, free: 4.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009007/0.3004, allocations: 0.524 MB / 1.075 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.342e-05/0.3005, allocations: 93.72 kB / 1.075 GB, free: 4.035 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3005, allocations: 4 kB / 1.075 GB, free: 4.031 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3005, allocations: 4 kB / 1.075 GB, free: 4.027 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.3007, allocations: 23.92 kB / 1.075 GB, free: 4.004 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.3007, allocations: 4 kB / 1.075 GB, free: 4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004849/0.3012, allocations: 63.98 kB / 1.075 GB, free: 3.938 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.506e-05/0.3013, allocations: 63.91 kB / 1.075 GB, free: 3.875 MB / 0.8419 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.0002656/0.3015, allocations: 212.3 kB / 1.075 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.854e-05/0.3016, allocations: 35.53 kB / 1.075 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.183e-05/0.3017, allocations: 51.78 kB / 1.075 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3017, allocations: 0 / 1.075 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3017, allocations: 0 / 1.075 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3017, allocations: 7.922 kB / 1.075 GB, free: 3.566 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002203/0.3039, allocations: 0.7909 MB / 1.076 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3039, allocations: 0 / 1.076 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.514e-05/0.304, allocations: 4 kB / 1.076 GB, free: 2.715 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.304, allocations: 4 kB / 1.076 GB, free: 2.711 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.119e-05/0.304, allocations: 23.91 kB / 1.076 GB, free: 2.688 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.304, allocations: 0 / 1.076 GB, free: 2.688 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.304, allocations: 0 / 1.076 GB, free: 2.688 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.3058, allocations: 486 kB / 1.076 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/0.3061, allocations: 236.5 kB / 1.077 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.429e-05/0.3062, allocations: 31.92 kB / 1.077 GB, free: 1.918 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004575/0.3066, allocations: 27.97 kB / 1.077 GB, free: 1.891 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.3067, allocations: 11.98 kB / 1.077 GB, free: 1.879 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.687e-05/0.3068, allocations: 59.97 kB / 1.077 GB, free: 1.82 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003366/0.3071, allocations: 323 kB / 1.077 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3071, allocations: 0 / 1.077 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003764/0.3075, allocations: 67.98 kB / 1.077 GB, free: 1.441 MB / 0.8419 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.000181/0.3077, allocations: 123.9 kB / 1.077 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001355/0.309, allocations: 490.6 kB / 1.078 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3091, allocations: 0 / 1.078 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007763/0.3098, allocations: 123.8 kB / 1.078 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.3102, allocations: 41.91 kB / 1.078 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3751/0.6853, allocations: 0.7581 MB / 1.079 GB, free: 22.57 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.6856, allocations: 0.7824 MB / 1.079 GB, free: 21.88 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.907e-05/0.6857, allocations: 16.95 kB / 1.079 GB, free: 21.87 MB / 0.8419 GB Notification: Performance of SimCode: time 4.51e-07/0.6857, allocations: 5.172 kB / 1.079 GB, free: 21.87 MB / 0.8419 GB Notification: Performance of Templates: time 0.006921/0.6926, allocations: 4.09 MB / 1.083 GB, free: 21.44 MB / 0.8419 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=400 -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/jenkins1/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