Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 108.3 kB / 15.99 MB, free: 6.348 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.001294/0.001294, allocations: 191.3 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.42/1.42, allocations: 222.9 MB / 240.6 MB, free: 13.68 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.725/2.725, allocations: 469.8 MB / 0.7427 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 64.09 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3364, allocations: 159.2 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003106/0.3396, allocations: 1.561 MB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.341, allocations: 0.55 MB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.466e-05/0.341, allocations: 0 / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.3412, allocations: 7.875 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.3413, allocations: 23.91 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008744/0.3422, allocations: 294.9 kB / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006007/0.3428, allocations: 0.4956 MB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.699e-05/0.3429, allocations: 15.91 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005106/0.3434, allocations: 343 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.3437, allocations: 167.2 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.335e-05/0.3438, allocations: 24 kB / 1.068 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.659e-05/0.3439, allocations: 28 kB / 1.068 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.344, allocations: 115.7 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002223/0.3443, allocations: 194.8 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003484/0.3446, allocations: 323.6 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.3446, allocations: 4 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3446, allocations: 0 / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.3446, allocations: 0 / 1.068 GB, free: 10.97 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.001335/0.346, allocations: 0.8665 MB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.346, allocations: 8.031 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.3462, allocations: 56.45 kB / 1.069 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.3466, allocations: 310.2 kB / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.158e-05/0.3466, allocations: 16.38 kB / 1.069 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-05/0.3467, allocations: 32.36 kB / 1.069 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.3478, allocations: 210 kB / 1.07 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3478, allocations: 192 / 1.07 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.3478, allocations: 3.938 kB / 1.07 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.3479, allocations: 0 / 1.07 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007808/0.3486, allocations: 103.9 kB / 1.07 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.3491, allocations: 393.2 kB / 1.07 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.3502, allocations: 178.5 kB / 1.07 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007466/0.351, allocations: 112.8 kB / 1.07 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.351, allocations: 4 kB / 1.07 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.352, allocations: 225.5 kB / 1.071 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 5.29e-06/0.3521, allocations: 0 / 1.071 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.002656/0.3547, allocations: 484.8 kB / 1.071 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/0.3548, allocations: 71.33 kB / 1.071 GB, free: 7.719 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004843/0.3553, allocations: 405.9 kB / 1.071 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.741e-05/0.3554, allocations: 41.69 kB / 1.072 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.259e-05/0.3555, allocations: 89.45 kB / 1.072 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.72e-05/0.3556, allocations: 47.44 kB / 1.072 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.3558, allocations: 129.3 kB / 1.072 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.356, allocations: 326.8 kB / 1.072 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.3562, allocations: 123.9 kB / 1.072 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/0.3566, allocations: 171.6 kB / 1.072 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004015/0.357, allocations: 279.2 kB / 1.073 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.357, allocations: 0 / 1.073 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008854/0.3579, allocations: 0.491 MB / 1.073 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.359e-05/0.358, allocations: 87.31 kB / 1.073 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.358, allocations: 0 / 1.073 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.358, allocations: 4 kB / 1.073 GB, free: 5.445 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.3582, allocations: 23.98 kB / 1.073 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.3582, allocations: 7.922 kB / 1.073 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005122/0.3587, allocations: 63.73 kB / 1.073 GB, free: 5.352 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.615e-05/0.3588, allocations: 60.02 kB / 1.073 GB, free: 5.293 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.0002689/0.3591, allocations: 196 kB / 1.074 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.032e-05/0.3592, allocations: 43.45 kB / 1.074 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.799e-05/0.3593, allocations: 35.75 kB / 1.074 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.3593, allocations: 4 kB / 1.074 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3593, allocations: 3.938 kB / 1.074 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3593, allocations: 0 / 1.074 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.3616, allocations: 0.746 MB / 1.074 GB, free: 4.207 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.3616, allocations: 4 kB / 1.074 GB, free: 4.203 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.659e-05/0.3616, allocations: 3.938 kB / 1.074 GB, free: 4.199 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3616, allocations: 4 kB / 1.074 GB, free: 4.195 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-05/0.3617, allocations: 27.97 kB / 1.074 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3617, allocations: 0 / 1.074 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3617, allocations: 0 / 1.074 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.3635, allocations: 481.5 kB / 1.075 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000272/0.3638, allocations: 192.5 kB / 1.075 GB, free: 3.477 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.509e-05/0.3639, allocations: 16 kB / 1.075 GB, free: 3.461 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004841/0.3643, allocations: 27.97 kB / 1.075 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.3644, allocations: 7.984 kB / 1.075 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.901e-05/0.3645, allocations: 63.97 kB / 1.075 GB, free: 3.363 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003329/0.3648, allocations: 295.1 kB / 1.075 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3648, allocations: 4 kB / 1.075 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004184/0.3653, allocations: 63.98 kB / 1.075 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.0001805/0.3654, allocations: 123.1 kB / 1.076 GB, free: 2.879 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001373/0.3668, allocations: 442.8 kB / 1.076 GB, free: 2.422 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.3668, allocations: 4.062 kB / 1.076 GB, free: 2.418 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000792/0.3676, allocations: 115.9 kB / 1.076 GB, free: 2.305 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.368, allocations: 37.41 kB / 1.076 GB, free: 2.27 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.3697, allocations: 0.7054 MB / 1.077 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.3701, allocations: 0.7708 MB / 1.078 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.595e-05/0.3702, allocations: 23.42 kB / 1.078 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of SimCode: time 8.72e-07/0.3702, allocations: 0 / 1.078 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of Templates: time 0.5017/0.8719, allocations: 3.676 MB / 1.081 GB, free: 21.51 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time