Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,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.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_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.497/1.497, allocations: 249.3 MB / 261.8 MB, free: 5.91 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.0009913/0.0009914, allocations: 174.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.135/2.135, allocations: 205.1 MB / 0.572 GB, free: 10.62 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.0009283/0.0009282, allocations: 90.52 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.723e-05/2.726e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2464, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9165/1.163, allocations: 133.5 MB / 1.022 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/1.163, allocations: 68.47 kB / 1.022 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01382/1.177, allocations: 4.46 MB / 1.027 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.893e-06/1.177, allocations: 0 / 1.027 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.238e-05/1.177, allocations: 4 kB / 1.027 GB, free: 13.34 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.001435/1.179, allocations: 0.5829 MB / 1.027 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.036e-05/1.179, allocations: 8.031 kB / 1.027 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/1.179, allocations: 31.72 kB / 1.027 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/1.179, allocations: 252.7 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.891e-05/1.179, allocations: 19.72 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-05/1.179, allocations: 19.06 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003313/1.18, allocations: 138.3 kB / 1.028 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/1.18, allocations: 0 / 1.028 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/1.18, allocations: 7.375 kB / 1.028 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/1.18, allocations: 4 kB / 1.028 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/1.18, allocations: 42.11 kB / 1.028 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/1.18, allocations: 340 kB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/1.181, allocations: 126 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/1.181, allocations: 58.28 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/1.181, allocations: 0 / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004513/1.181, allocations: 217.5 kB / 1.028 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/1.181, allocations: 4 kB / 1.028 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0005489/1.182, allocations: 212.3 kB / 1.029 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/1.182, allocations: 66.89 kB / 1.029 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004226/1.182, allocations: 256.9 kB / 1.029 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.009e-05/1.182, allocations: 37.27 kB / 1.029 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.878e-05/1.183, allocations: 92.56 kB / 1.029 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.39e-05/1.183, allocations: 46.62 kB / 1.029 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/1.183, allocations: 7.438 kB / 1.029 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001825/1.183, allocations: 322.4 kB / 1.029 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/1.183, allocations: 98.27 kB / 1.029 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/1.183, allocations: 148.8 kB / 1.03 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/1.184, allocations: 158.9 kB / 1.03 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.184, allocations: 0 / 1.03 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007669/1.185, allocations: 407.5 kB / 1.03 GB, free: 9.871 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/1.185, allocations: 70.02 kB / 1.03 GB, free: 9.793 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/1.185, allocations: 0 / 1.03 GB, free: 9.793 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/1.185, allocations: 4 kB / 1.03 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/1.185, allocations: 34.97 kB / 1.03 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/1.185, allocations: 4 kB / 1.03 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003968/1.185, allocations: 55.25 kB / 1.03 GB, free: 9.703 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/1.185, allocations: 50.55 kB / 1.03 GB, free: 9.656 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.0002498/1.186, allocations: 137.9 kB / 1.03 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.301e-05/1.186, allocations: 27.62 kB / 1.03 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.68e-05/1.186, allocations: 35.97 kB / 1.031 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/1.186, allocations: 0 / 1.031 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/1.186, allocations: 0 / 1.031 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.186, allocations: 0 / 1.031 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000974/1.187, allocations: 0.5602 MB / 1.031 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.187, allocations: 0 / 1.031 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.971e-05/1.187, allocations: 11.98 kB / 1.031 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/1.187, allocations: 0 / 1.031 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/1.187, allocations: 7.984 kB / 1.031 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/1.187, allocations: 4 kB / 1.031 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/1.187, allocations: 7.938 kB / 1.031 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004709/1.188, allocations: 320 kB / 1.031 GB, free: 8.602 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/1.188, allocations: 155 kB / 1.032 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.95e-05/1.188, allocations: 10.92 kB / 1.032 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/1.188, allocations: 11.62 kB / 1.032 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.555e-05/1.188, allocations: 15.97 kB / 1.032 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.603e-05/1.188, allocations: 35.05 kB / 1.032 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001895/1.188, allocations: 206 kB / 1.032 GB, free: 8.211 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/1.188, allocations: 0 / 1.032 GB, free: 8.211 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000319/1.189, allocations: 50.75 kB / 1.032 GB, free: 8.168 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.0002424/1.189, allocations: 126.5 kB / 1.032 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006547/1.19, allocations: 346.2 kB / 1.032 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.19, allocations: 384 / 1.032 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/1.19, allocations: 79.41 kB / 1.032 GB, free: 7.688 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/1.19, allocations: 19.83 kB / 1.032 GB, free: 7.672 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006137/1.191, allocations: 276.1 kB / 1.033 GB, free: 7.41 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/1.191, allocations: 0.7511 MB / 1.033 GB, free: 6.637 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001379/1.191, allocations: 33.2 kB / 1.033 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/1.191, allocations: 35.42 kB / 1.033 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of SimCode: time 3.106e-06/1.191, allocations: 0 / 1.033 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of Templates: time 0.008928/1.2, allocations: 4.325 MB / 1.038 GB, free: 2.27 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","../files/Buildings_maint.7.0.x_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