Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.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.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 107 kB / 15.99 MB, free: 6.359 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.001528/0.001529, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.435/1.435, allocations: 222.9 MB / 240.6 MB, free: 13.72 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.795/2.795, allocations: 469.8 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 73.39 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.316, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.00297/0.319, allocations: 1.574 MB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.3204, allocations: 0.5384 MB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.402e-05/0.3204, allocations: 0 / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.3206, allocations: 11.94 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.3207, allocations: 19.86 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008074/0.3215, allocations: 291.5 kB / 1.067 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005953/0.3221, allocations: 0.5072 MB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.041e-05/0.3222, allocations: 7.984 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004662/0.3227, allocations: 331 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.3229, allocations: 167.2 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.616e-05/0.323, allocations: 28 kB / 1.068 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.362e-05/0.3231, allocations: 28 kB / 1.068 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.3233, allocations: 115.7 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.3235, allocations: 198.8 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.3238, allocations: 323.6 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3238, allocations: 0 / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3239, allocations: 0 / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.3239, allocations: 3.984 kB / 1.068 GB, free: 10.98 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001304/0.3252, allocations: 0.8626 MB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3252, allocations: 12.02 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.3254, allocations: 48.47 kB / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.3258, allocations: 318.2 kB / 1.069 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.016e-05/0.3258, allocations: 16.38 kB / 1.069 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.151e-05/0.3259, allocations: 32.34 kB / 1.069 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.327, allocations: 213.6 kB / 1.07 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.327, allocations: 8.125 kB / 1.07 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.327, allocations: 3.938 kB / 1.07 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.327, allocations: 0 / 1.07 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008136/0.3278, allocations: 103.9 kB / 1.07 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004692/0.3283, allocations: 389.2 kB / 1.07 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.3294, allocations: 182.4 kB / 1.07 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008039/0.3303, allocations: 108.8 kB / 1.07 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.3303, allocations: 7.938 kB / 1.07 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/0.3313, allocations: 223.1 kB / 1.071 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.823e-06/0.3314, allocations: 0 / 1.071 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.002759/0.3341, allocations: 486.4 kB / 1.071 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.3342, allocations: 63.33 kB / 1.071 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004323/0.3346, allocations: 409.9 kB / 1.071 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.421e-05/0.3347, allocations: 41.69 kB / 1.072 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.631e-05/0.3348, allocations: 89.45 kB / 1.072 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.149e-05/0.3348, allocations: 43.44 kB / 1.072 GB, free: 7.137 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.3351, allocations: 137.3 kB / 1.072 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3352, allocations: 322.8 kB / 1.072 GB, free: 6.672 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.3355, allocations: 119.9 kB / 1.072 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003011/0.3358, allocations: 167.7 kB / 1.072 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004008/0.3362, allocations: 283.1 kB / 1.073 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3362, allocations: 0 / 1.073 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008578/0.3371, allocations: 498.4 kB / 1.073 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.365e-05/0.3372, allocations: 91.31 kB / 1.073 GB, free: 5.457 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3372, allocations: 0 / 1.073 GB, free: 5.457 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3372, allocations: 4 kB / 1.073 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.3374, allocations: 23.92 kB / 1.073 GB, free: 5.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.3374, allocations: 3.984 kB / 1.073 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005201/0.338, allocations: 67.92 kB / 1.073 GB, free: 5.359 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.953e-05/0.3381, allocations: 59.98 kB / 1.073 GB, free: 5.301 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0002327/0.3383, allocations: 192 kB / 1.074 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.554e-05/0.3384, allocations: 43.45 kB / 1.074 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.071e-05/0.3384, allocations: 39.75 kB / 1.074 GB, free: 5.023 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3384, allocations: 0 / 1.074 GB, free: 5.023 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3385, allocations: 0 / 1.074 GB, free: 5.023 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.3385, allocations: 4 kB / 1.074 GB, free: 5.02 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.3408, allocations: 0.7483 MB / 1.074 GB, free: 4.215 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3408, allocations: 0 / 1.074 GB, free: 4.215 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.542e-05/0.3408, allocations: 4 kB / 1.074 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.3408, allocations: 8 kB / 1.074 GB, free: 4.203 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/0.3409, allocations: 23.97 kB / 1.074 GB, free: 4.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.3409, allocations: 7.938 kB / 1.074 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3409, allocations: 0 / 1.074 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/0.3427, allocations: 481.8 kB / 1.075 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.343, allocations: 200.5 kB / 1.075 GB, free: 3.473 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.319e-05/0.3431, allocations: 8 kB / 1.075 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004824/0.3435, allocations: 27.97 kB / 1.075 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.3436, allocations: 11.98 kB / 1.075 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-05/0.3437, allocations: 59.97 kB / 1.075 GB, free: 3.367 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000313/0.344, allocations: 295.1 kB / 1.075 GB, free: 3.082 MB / 0.8419 GB Notification: Performance of sort global known variables: time 5.07e-06/0.344, allocations: 4 kB / 1.075 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003541/0.3444, allocations: 67.92 kB / 1.076 GB, free: 3.012 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0001695/0.3445, allocations: 119.2 kB / 1.076 GB, free: 2.883 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.3459, allocations: 446.5 kB / 1.076 GB, free: 2.422 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.346, allocations: 0 / 1.076 GB, free: 2.422 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007927/0.3468, allocations: 123.8 kB / 1.076 GB, free: 2.301 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.3471, allocations: 25.48 kB / 1.076 GB, free: 2.277 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.3489, allocations: 0.7019 MB / 1.077 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.3493, allocations: 0.7747 MB / 1.078 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.25e-05/0.3494, allocations: 19.42 kB / 1.078 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of SimCode: time 3.7e-07/0.3494, allocations: 0 / 1.078 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of Templates: time 0.5624/0.9118, allocations: 3.686 MB / 1.081 GB, free: 21.5 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches