Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.231/2.231, allocations: 390.3 MB / 402.8 MB, free: 6.668 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 221.3 MB / 0.7915 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009385/0.0009385, allocations: 91.95 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.733e-05/2.744e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3034, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.027/1.33, allocations: 152.7 MB / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/1.331, allocations: 75.69 kB / 1.368 GB, free: 1.32 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0142/1.345, allocations: 4.589 MB / 1.372 GB, free: 13.33 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.506e-06/1.345, allocations: 3.938 kB / 1.372 GB, free: 13.33 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.936e-05/1.345, allocations: 7.938 kB / 1.372 GB, free: 13.32 MB / 0.8386 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.0008441/1.346, allocations: 0.6217 MB / 1.373 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.253e-05/1.346, allocations: 12.03 kB / 1.373 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/1.346, allocations: 31.62 kB / 1.373 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/1.346, allocations: 253 kB / 1.373 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.574e-05/1.347, allocations: 11.19 kB / 1.373 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.768e-05/1.347, allocations: 19.88 kB / 1.373 GB, free: 12.29 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/1.347, allocations: 152.6 kB / 1.374 GB, free: 12.16 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/1.347, allocations: 4 kB / 1.374 GB, free: 12.16 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/1.347, allocations: 7.25 kB / 1.374 GB, free: 12.15 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/1.347, allocations: 0 / 1.374 GB, free: 12.15 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/1.347, allocations: 42.61 kB / 1.374 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/1.348, allocations: 343.2 kB / 1.374 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/1.348, allocations: 100.9 kB / 1.374 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/1.348, allocations: 57.34 kB / 1.374 GB, free: 11.67 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/1.348, allocations: 8 kB / 1.374 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002545/1.348, allocations: 164.3 kB / 1.374 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.512e-06/1.348, allocations: 0 / 1.374 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0005162/1.349, allocations: 247.8 kB / 1.374 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/1.349, allocations: 62.09 kB / 1.375 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/1.349, allocations: 254.3 kB / 1.375 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.912e-05/1.349, allocations: 41.5 kB / 1.375 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/1.349, allocations: 97.02 kB / 1.375 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.848e-05/1.349, allocations: 34.34 kB / 1.375 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/1.349, allocations: 6.438 kB / 1.375 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.349, allocations: 329.4 kB / 1.375 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/1.35, allocations: 85.98 kB / 1.375 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/1.35, allocations: 139.1 kB / 1.375 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/1.35, allocations: 157.6 kB / 1.376 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.35, allocations: 3.938 kB / 1.376 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000671/1.351, allocations: 392.3 kB / 1.376 GB, free: 9.859 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.151e-05/1.351, allocations: 74.7 kB / 1.376 GB, free: 9.781 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.351, allocations: 7.938 kB / 1.376 GB, free: 9.773 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/1.351, allocations: 0 / 1.376 GB, free: 9.773 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/1.351, allocations: 19.98 kB / 1.376 GB, free: 9.754 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/1.351, allocations: 7.984 kB / 1.376 GB, free: 9.746 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/1.351, allocations: 43.64 kB / 1.376 GB, free: 9.707 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.465e-05/1.351, allocations: 46.98 kB / 1.376 GB, free: 9.664 MB / 0.8386 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001412/1.352, allocations: 127 kB / 1.376 GB, free: 9.543 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.454e-05/1.352, allocations: 27.67 kB / 1.376 GB, free: 9.516 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.791e-05/1.352, allocations: 25.64 kB / 1.376 GB, free: 9.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/1.352, allocations: 7.984 kB / 1.376 GB, free: 9.492 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/1.352, allocations: 0 / 1.376 GB, free: 9.492 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.352, allocations: 0 / 1.376 GB, free: 9.492 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008781/1.353, allocations: 0.598 MB / 1.377 GB, free: 8.914 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.353, allocations: 4 kB / 1.377 GB, free: 8.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.699e-05/1.353, allocations: 4 kB / 1.377 GB, free: 8.906 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.575e-06/1.353, allocations: 3.984 kB / 1.377 GB, free: 8.902 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.79e-05/1.353, allocations: 19.17 kB / 1.377 GB, free: 8.887 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/1.353, allocations: 3.938 kB / 1.377 GB, free: 8.883 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.353, allocations: 0 / 1.377 GB, free: 8.883 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/1.353, allocations: 344.2 kB / 1.377 GB, free: 8.566 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/1.353, allocations: 170.6 kB / 1.377 GB, free: 8.395 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.938e-05/1.354, allocations: 10.88 kB / 1.377 GB, free: 8.391 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003946/1.354, allocations: 31.97 kB / 1.378 GB, free: 8.359 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/1.354, allocations: 11.3 kB / 1.378 GB, free: 8.352 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.623e-05/1.354, allocations: 39.97 kB / 1.378 GB, free: 8.312 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002221/1.354, allocations: 205.4 kB / 1.378 GB, free: 8.145 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.354, allocations: 4 kB / 1.378 GB, free: 8.141 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003488/1.355, allocations: 55.81 kB / 1.378 GB, free: 8.09 MB / 0.8386 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002137/1.355, allocations: 119 kB / 1.378 GB, free: 7.969 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005726/1.355, allocations: 335.9 kB / 1.378 GB, free: 7.684 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/1.355, allocations: 4 kB / 1.378 GB, free: 7.68 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/1.356, allocations: 65.61 kB / 1.378 GB, free: 7.633 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/1.356, allocations: 30.94 kB / 1.378 GB, free: 7.609 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005627/1.356, allocations: 272.2 kB / 1.379 GB, free: 7.352 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/1.357, allocations: 0.7437 MB / 1.379 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.24e-05/1.357, allocations: 16.77 kB / 1.379 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/1.357, allocations: 15.42 kB / 1.379 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/1.357, allocations: 0 / 1.379 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of Templates: time 0.007415/1.364, allocations: 3.911 MB / 1.383 GB, free: 2.672 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","../files/Buildings_latest_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.daySampleStart,calTim.hour,calTim.hourSampleStart,calTim.minute,calTim.month,calTim.offset,calTim.outputUnixTimeStamp,calTim.timOff,calTim.timZon,calTim.weekDay,calTim.year,calTim.yearRef,calTim.zerTim,time