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.586/1.586, allocations: 249.5 MB / 257 MB, free: 6.941 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.001205/0.001204, allocations: 180.9 kB / 316.3 MB, free: 3.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.001453/0.001453, allocations: 84.41 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2e-05/2.004e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2652, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.889/1.154, allocations: 133.7 MB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/1.155, allocations: 75.62 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01383/1.168, allocations: 4.43 MB / 1.02 GB, free: 316 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.553e-06/1.168, allocations: 3.938 kB / 1.02 GB, free: 312 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.591e-05/1.168, allocations: 4 kB / 1.02 GB, free: 308 kB / 0.6355 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.0009871/1.169, allocations: 0.5741 MB / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/1.17, allocations: 12.03 kB / 1.021 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/1.17, allocations: 31.72 kB / 1.021 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/1.17, allocations: 257.9 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/1.17, allocations: 4 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.911e-05/1.17, allocations: 15.98 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001489/1.17, allocations: 35.38 kB / 1.021 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/1.171, allocations: 148.6 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/1.171, allocations: 0 / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/1.171, allocations: 4 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/1.171, allocations: 0 / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/1.171, allocations: 311.5 kB / 1.022 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/1.171, allocations: 112.9 kB / 1.022 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.703e-05/1.171, allocations: 52.28 kB / 1.022 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/1.172, allocations: 4.375 kB / 1.022 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004812/1.172, allocations: 206.5 kB / 1.022 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/1.172, allocations: 0 / 1.022 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0004559/1.172, allocations: 213.5 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/1.173, allocations: 55.41 kB / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/1.173, allocations: 248 kB / 1.022 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.819e-05/1.173, allocations: 41.44 kB / 1.022 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.764e-05/1.173, allocations: 89.39 kB / 1.023 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.094e-05/1.173, allocations: 43.38 kB / 1.023 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/1.173, allocations: 4 kB / 1.023 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.173, allocations: 318.8 kB / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/1.173, allocations: 90.58 kB / 1.023 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/1.174, allocations: 140.8 kB / 1.023 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/1.174, allocations: 71.14 kB / 1.023 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/1.174, allocations: 0 / 1.023 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005592/1.174, allocations: 317.8 kB / 1.023 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.131e-05/1.174, allocations: 72.64 kB / 1.024 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/1.174, allocations: 4 kB / 1.024 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/1.175, allocations: 0 / 1.024 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/1.175, allocations: 35.28 kB / 1.024 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/1.175, allocations: 0 / 1.024 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003861/1.175, allocations: 52 kB / 1.024 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.72e-05/1.175, allocations: 51.42 kB / 1.024 GB, free: 12.91 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.0001496/1.175, allocations: 130.6 kB / 1.024 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/1.175, allocations: 31.58 kB / 1.024 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.153e-05/1.175, allocations: 29.59 kB / 1.024 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/1.176, allocations: 4 kB / 1.024 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/1.176, allocations: 0 / 1.024 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/1.176, allocations: 4 kB / 1.024 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008513/1.176, allocations: 0.5173 MB / 1.024 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.176, allocations: 0 / 1.024 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.495e-05/1.176, allocations: 8 kB / 1.024 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/1.176, allocations: 3.984 kB / 1.024 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/1.177, allocations: 15.73 kB / 1.024 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.177, allocations: 0 / 1.024 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.177, allocations: 0 / 1.024 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/1.177, allocations: 317.1 kB / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/1.177, allocations: 159 kB / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.444e-05/1.177, allocations: 11.67 kB / 1.025 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/1.177, allocations: 4 kB / 1.025 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.526e-05/1.177, allocations: 15.97 kB / 1.025 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/1.177, allocations: 31.48 kB / 1.025 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001939/1.178, allocations: 198.3 kB / 1.025 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.178, allocations: 0 / 1.025 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003406/1.178, allocations: 52 kB / 1.025 GB, free: 11.48 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.0002215/1.178, allocations: 110.8 kB / 1.025 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005385/1.179, allocations: 325.4 kB / 1.026 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.179, allocations: 0 / 1.026 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/1.179, allocations: 69.77 kB / 1.026 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/1.179, allocations: 20.12 kB / 1.026 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006935/1.18, allocations: 276.4 kB / 1.026 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/1.18, allocations: 0.751 MB / 1.027 GB, free: 9.992 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001516/1.181, allocations: 37.2 kB / 1.027 GB, free: 9.953 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/1.181, allocations: 31.42 kB / 1.027 GB, free: 9.926 MB / 0.6511 GB Notification: Performance of SimCode: time 4.31e-07/1.181, allocations: 0 / 1.027 GB, free: 9.926 MB / 0.6511 GB Notification: Performance of Templates: time 0.008781/1.189, allocations: 4.144 MB / 1.031 GB, free: 5.809 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