Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.472/1.472, allocations: 249.3 MB / 261.8 MB, free: 5.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009647/0.0009647, allocations: 178.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.156/2.156, allocations: 205.2 MB / 0.572 GB, free: 10.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008448/0.0008448, allocations: 85.28 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.521e-05/2.523e-05, allocations: 0 / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2472, allocations: 106.3 MB / 0.8918 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9074/1.155, allocations: 133.5 MB / 1.022 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/1.155, allocations: 70.98 kB / 1.022 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01383/1.169, allocations: 4.451 MB / 1.027 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.123e-06/1.169, allocations: 0 / 1.027 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.88e-05/1.169, allocations: 4 kB / 1.027 GB, free: 13.39 MB / 0.6511 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.0009768/1.17, allocations: 0.5791 MB / 1.027 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/1.17, allocations: 8.031 kB / 1.027 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/1.17, allocations: 35.72 kB / 1.027 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/1.17, allocations: 257.2 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/1.171, allocations: 15.5 kB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.439e-05/1.171, allocations: 15.98 kB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/1.171, allocations: 139 kB / 1.028 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-06/1.171, allocations: 3.938 kB / 1.028 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/1.171, allocations: 7.984 kB / 1.028 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/1.171, allocations: 0 / 1.028 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/1.171, allocations: 46.42 kB / 1.028 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/1.171, allocations: 341.8 kB / 1.028 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/1.172, allocations: 121.6 kB / 1.028 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/1.172, allocations: 56.34 kB / 1.028 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/1.172, allocations: 4 kB / 1.028 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003934/1.172, allocations: 212.2 kB / 1.028 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 3.086e-06/1.172, allocations: 0 / 1.028 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0004129/1.173, allocations: 224.8 kB / 1.029 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/1.173, allocations: 59.41 kB / 1.029 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/1.173, allocations: 258 kB / 1.029 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.53e-05/1.173, allocations: 40.52 kB / 1.029 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.291e-05/1.173, allocations: 88.58 kB / 1.029 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.228e-05/1.173, allocations: 46.61 kB / 1.029 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/1.173, allocations: 7.875 kB / 1.029 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001689/1.173, allocations: 325.6 kB / 1.029 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/1.174, allocations: 92.97 kB / 1.029 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/1.174, allocations: 149.4 kB / 1.03 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/1.174, allocations: 155 kB / 1.03 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.174, allocations: 0 / 1.03 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007279/1.175, allocations: 414 kB / 1.03 GB, free: 9.926 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.07e-05/1.175, allocations: 74.52 kB / 1.03 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/1.175, allocations: 0 / 1.03 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/1.175, allocations: 4 kB / 1.03 GB, free: 9.844 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/1.175, allocations: 27.86 kB / 1.03 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/1.175, allocations: 7.984 kB / 1.03 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/1.176, allocations: 55.75 kB / 1.03 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.844e-05/1.176, allocations: 51.73 kB / 1.03 GB, free: 9.711 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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 (28): * Single equations (assignments): 26 * 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.0001447/1.176, allocations: 132.4 kB / 1.03 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/1.176, allocations: 31.61 kB / 1.03 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.928e-05/1.176, allocations: 29.17 kB / 1.03 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/1.176, allocations: 3.984 kB / 1.03 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/1.176, allocations: 0 / 1.03 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/1.176, allocations: 7.984 kB / 1.03 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008414/1.177, allocations: 0.5539 MB / 1.031 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.177, allocations: 0 / 1.031 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/1.177, allocations: 8 kB / 1.031 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/1.177, allocations: 0 / 1.031 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/1.177, allocations: 15.09 kB / 1.031 GB, free: 8.961 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.177, allocations: 4 kB / 1.031 GB, free: 8.957 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.177, allocations: 0 / 1.031 GB, free: 8.957 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004194/1.177, allocations: 330 kB / 1.031 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/1.178, allocations: 150 kB / 1.031 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.462e-05/1.178, allocations: 7.75 kB / 1.032 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/1.178, allocations: 15.3 kB / 1.032 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.385e-05/1.178, allocations: 15.97 kB / 1.032 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.827e-05/1.178, allocations: 35.36 kB / 1.032 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001895/1.178, allocations: 203.2 kB / 1.032 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.178, allocations: 4 kB / 1.032 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000293/1.178, allocations: 51.61 kB / 1.032 GB, free: 8.219 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0001483/1.179, allocations: 119.4 kB / 1.032 GB, free: 8.102 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005208/1.179, allocations: 350.8 kB / 1.032 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.179, allocations: 0 / 1.032 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/1.179, allocations: 79.72 kB / 1.032 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/1.179, allocations: 24.14 kB / 1.032 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004983/1.18, allocations: 273.7 kB / 1.033 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/1.18, allocations: 0.7511 MB / 1.033 GB, free: 6.688 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001359/1.181, allocations: 37.2 kB / 1.033 GB, free: 6.648 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/1.181, allocations: 35.36 kB / 1.033 GB, free: 6.617 MB / 0.6511 GB Notification: Performance of SimCode: time 5.41e-07/1.181, allocations: 4 kB / 1.033 GB, free: 6.613 MB / 0.6511 GB Notification: Performance of Templates: time 0.007761/1.188, allocations: 4.318 MB / 1.038 GB, free: 2.32 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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