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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 105.7 kB / 17.08 MB, free: 5.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001353, allocations: 193.2 kB / 20.03 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.029/3.029, allocations: 490 MB / 0.7695 GB, free: 3.113 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002772/0.002772, allocations: 67.89 kB / 1.104 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9444/0.9471, allocations: 164 MB / 1.264 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00267/0.9499, allocations: 1.532 MB / 1.265 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.9512, allocations: 0.5431 MB / 1.266 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.91e-05/0.9513, allocations: 0 / 1.266 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.9514, allocations: 6.328 kB / 1.266 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.9515, allocations: 31.27 kB / 1.266 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008077/0.9524, allocations: 315.7 kB / 1.266 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006116/0.953, allocations: 0.4969 MB / 1.267 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.987e-05/0.953, allocations: 6.062 kB / 1.267 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004576/0.9535, allocations: 281.1 kB / 1.267 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003128/0.9538, allocations: 142.9 kB / 1.267 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.9539, allocations: 26.25 kB / 1.267 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.9541, allocations: 31.41 kB / 1.267 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.9542, allocations: 114.6 kB / 1.267 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002157/0.9544, allocations: 181.5 kB / 1.267 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005692/0.955, allocations: 431.8 kB / 1.268 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.955, allocations: 4.656 kB / 1.268 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.016e-06/0.955, allocations: 0.9688 kB / 1.268 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.485e-06/0.9551, allocations: 0 / 1.268 GB, free: 5.305 MB / 0.9981 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.001206/0.9563, allocations: 0.8693 MB / 1.269 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.9563, allocations: 13.09 kB / 1.269 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.9565, allocations: 55.48 kB / 1.269 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.9568, allocations: 312.6 kB / 1.269 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.075e-05/0.9569, allocations: 21.81 kB / 1.269 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.773e-05/0.9569, allocations: 33.23 kB / 1.269 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.958, allocations: 212.7 kB / 1.269 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.958, allocations: 192 / 1.269 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.958, allocations: 9.453 kB / 1.269 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.958, allocations: 2.359 kB / 1.269 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007587/0.9588, allocations: 100.8 kB / 1.269 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.9592, allocations: 383.3 kB / 1.27 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.9603, allocations: 178.8 kB / 1.27 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007285/0.961, allocations: 114.5 kB / 1.27 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.9611, allocations: 1.906 kB / 1.27 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009749/0.962, allocations: 228.5 kB / 1.27 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.962, allocations: 0 / 1.27 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002677/0.9647, allocations: 482.2 kB / 1.271 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.9648, allocations: 64.44 kB / 1.271 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005024/0.9653, allocations: 412.2 kB / 1.271 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.267e-05/0.9654, allocations: 40.23 kB / 1.271 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.9654, allocations: 98.61 kB / 1.271 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.9655, allocations: 40.09 kB / 1.271 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/0.9657, allocations: 132.3 kB / 1.271 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.011e-05/0.9658, allocations: 322.3 kB / 1.272 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.9661, allocations: 115.6 kB / 1.272 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/0.9664, allocations: 172.8 kB / 1.272 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.9667, allocations: 280.9 kB / 1.272 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.9668, allocations: 4.562 kB / 1.272 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008463/0.9676, allocations: 486.8 kB / 1.273 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.043e-05/0.9677, allocations: 92.44 kB / 1.273 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.9677, allocations: 2.188 kB / 1.273 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.9677, allocations: 2.281 kB / 1.273 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.9679, allocations: 28.89 kB / 1.273 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.9679, allocations: 1.75 kB / 1.273 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004857/0.9684, allocations: 59.64 kB / 1.273 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.235e-05/0.9685, allocations: 61.73 kB / 1.273 GB, free: 2.184 MB / 0.9981 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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002477/0.9688, allocations: 196.8 kB / 1.273 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-05/0.9688, allocations: 44.73 kB / 1.273 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.912e-05/0.9689, allocations: 40.89 kB / 1.273 GB, free: 2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.9689, allocations: 6.453 kB / 1.273 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.9689, allocations: 1.156 kB / 1.273 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.9689, allocations: 0 / 1.273 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/0.9711, allocations: 0.7503 MB / 1.274 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.9711, allocations: 4 kB / 1.274 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.9712, allocations: 6.359 kB / 1.274 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.9712, allocations: 0.9062 kB / 1.274 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.133e-05/0.9712, allocations: 21.36 kB / 1.274 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.9712, allocations: 1.688 kB / 1.274 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.9713, allocations: 1.656 kB / 1.274 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.9729, allocations: 483.5 kB / 1.275 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/0.9732, allocations: 199.6 kB / 1.275 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.385e-05/0.9733, allocations: 10.64 kB / 1.275 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004678/0.9738, allocations: 34.09 kB / 1.275 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.9738, allocations: 6.016 kB / 1.275 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.73e-05/0.9739, allocations: 60.56 kB / 1.275 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003266/0.9743, allocations: 297.4 kB / 1.275 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9743, allocations: 0 / 1.275 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004395/0.9747, allocations: 65.67 kB / 1.275 GB, free: 1.074 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001453/0.9749, allocations: 112.6 kB / 1.275 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001288/0.9762, allocations: 446.8 kB / 1.276 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.9762, allocations: 1.094 kB / 1.276 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007582/0.9769, allocations: 122 kB / 1.276 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.9773, allocations: 29.91 kB / 1.276 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.9788, allocations: 0.6035 MB / 1.276 GB, free: 384 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.9791, allocations: 0.767 MB / 1.277 GB, free: 15.68 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.591e-05/0.9792, allocations: 20.66 kB / 1.277 GB, free: 15.66 MB / 1.014 GB Notification: Performance of SimCode: time 2.51e-07/0.9792, allocations: 0 / 1.277 GB, free: 15.66 MB / 1.014 GB Notification: Performance of Templates: time 0.007111/0.9863, allocations: 3.675 MB / 1.281 GB, free: 15.15 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time [Calling sys.exit(0), Time elapsed: 11.364991233916953]