Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.32/2.32, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001226/0.001226, allocations: 178.9 kB / 0.4902 GB, free: 2.309 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.651/1.651, allocations: 223.1 MB / 0.7992 GB, free: 15.69 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.0009534/0.0009533, allocations: 100.2 kB / 0.9396 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003967/0.0003967, allocations: 11.78 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3528, allocations: 143 MB / 1.229 GB, free: 85.53 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2242/0.5771, allocations: 152.8 MB / 1.378 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/0.5775, allocations: 71.95 kB / 1.378 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01531/0.5928, allocations: 4.607 MB / 1.383 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5929, allocations: 0 / 1.383 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.048e-05/0.5929, allocations: 4 kB / 1.383 GB, free: 7.855 MB / 0.8855 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.0009752/0.5939, allocations: 0.6605 MB / 1.384 GB, free: 7.109 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.594, allocations: 8.562 kB / 1.384 GB, free: 7.102 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.981e-05/0.5941, allocations: 35.72 kB / 1.384 GB, free: 7.066 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.5945, allocations: 254.4 kB / 1.384 GB, free: 6.773 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.235e-05/0.5945, allocations: 19.98 kB / 1.384 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.915e-05/0.5946, allocations: 12 kB / 1.384 GB, free: 6.742 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009324/0.5955, allocations: 216 kB / 1.384 GB, free: 6.527 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.5956, allocations: 0 / 1.384 GB, free: 6.527 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.5956, allocations: 0 / 1.384 GB, free: 6.527 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.5956, allocations: 4 kB / 1.384 GB, free: 6.523 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007159/0.5963, allocations: 107.9 kB / 1.384 GB, free: 6.418 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.5968, allocations: 333.3 kB / 1.385 GB, free: 6.043 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.5978, allocations: 190.4 kB / 1.385 GB, free: 5.848 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.5978, allocations: 0 / 1.385 GB, free: 5.848 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008731/0.5987, allocations: 223.2 kB / 1.385 GB, free: 5.617 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.5987, allocations: 0 / 1.385 GB, free: 5.617 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.002404/0.6011, allocations: 490.8 kB / 1.385 GB, free: 5.133 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.741e-05/0.6012, allocations: 55.41 kB / 1.385 GB, free: 5.066 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.6015, allocations: 258.1 kB / 1.386 GB, free: 4.812 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.298e-05/0.6016, allocations: 33.7 kB / 1.386 GB, free: 4.773 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.6016, allocations: 93.08 kB / 1.386 GB, free: 4.68 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.119e-05/0.6017, allocations: 47.44 kB / 1.386 GB, free: 4.633 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.6017, allocations: 12 kB / 1.386 GB, free: 4.621 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.6019, allocations: 322.8 kB / 1.386 GB, free: 4.297 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.6021, allocations: 95.94 kB / 1.386 GB, free: 4.203 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.6024, allocations: 147.6 kB / 1.386 GB, free: 4.039 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.6027, allocations: 152.2 kB / 1.387 GB, free: 3.879 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.6027, allocations: 4 kB / 1.387 GB, free: 3.875 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007339/0.6035, allocations: 393.7 kB / 1.387 GB, free: 3.473 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.538e-05/0.6036, allocations: 75.38 kB / 1.387 GB, free: 3.387 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.6036, allocations: 0 / 1.387 GB, free: 3.387 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.6036, allocations: 4.188 kB / 1.387 GB, free: 3.383 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.6038, allocations: 31.92 kB / 1.387 GB, free: 3.352 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.6038, allocations: 4 kB / 1.387 GB, free: 3.348 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.6041, allocations: 43.75 kB / 1.387 GB, free: 3.305 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.227e-05/0.6042, allocations: 43.98 kB / 1.387 GB, free: 3.262 MB / 0.8855 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002181/0.6044, allocations: 172 kB / 1.387 GB, free: 3.086 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.6045, allocations: 31.66 kB / 1.387 GB, free: 3.055 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.665e-05/0.6045, allocations: 26.3 kB / 1.387 GB, free: 3.027 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.6046, allocations: 4 kB / 1.387 GB, free: 3.023 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6046, allocations: 0 / 1.387 GB, free: 3.023 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.6046, allocations: 0 / 1.387 GB, free: 3.023 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.6068, allocations: 0.709 MB / 1.388 GB, free: 2.258 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6068, allocations: 4 kB / 1.388 GB, free: 2.254 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.675e-05/0.6068, allocations: 8 kB / 1.388 GB, free: 2.246 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.6068, allocations: 0 / 1.388 GB, free: 2.246 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.812e-05/0.6069, allocations: 15.97 kB / 1.388 GB, free: 2.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.6069, allocations: 0 / 1.388 GB, free: 2.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6069, allocations: 0 / 1.388 GB, free: 2.23 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.6085, allocations: 469.1 kB / 1.389 GB, free: 1.758 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/0.6088, allocations: 172.5 kB / 1.389 GB, free: 1.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.083e-05/0.6088, allocations: 8 kB / 1.389 GB, free: 1.562 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/0.6093, allocations: 31.97 kB / 1.389 GB, free: 1.531 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.6093, allocations: 11.98 kB / 1.389 GB, free: 1.52 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.833e-05/0.6094, allocations: 39.97 kB / 1.389 GB, free: 1.48 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000221/0.6096, allocations: 213.9 kB / 1.389 GB, free: 1.27 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6096, allocations: 4 kB / 1.389 GB, free: 1.266 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003384/0.61, allocations: 56.38 kB / 1.389 GB, free: 1.211 MB / 0.8855 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 (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.0001988/0.6102, allocations: 114.1 kB / 1.389 GB, free: 1.094 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001191/0.6114, allocations: 402.5 kB / 1.39 GB, free: 0.6758 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6114, allocations: 0 / 1.39 GB, free: 0.6758 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007192/0.6121, allocations: 126.3 kB / 1.39 GB, free: 0.5547 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.6124, allocations: 32.81 kB / 1.39 GB, free: 0.5234 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.6137, allocations: 0.4913 MB / 1.39 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.6141, allocations: 0.7476 MB / 1.391 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 6.785e-05/0.6142, allocations: 16.62 kB / 1.391 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.6142, allocations: 15.44 kB / 1.391 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of SimCode: time 5.71e-07/0.6142, allocations: 0 / 1.391 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of Templates: time 0.007447/0.6217, allocations: 3.902 MB / 1.395 GB, free: 11.3 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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