Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 105.2 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 249.9 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.532/2.532, allocations: 443.5 MB / 0.731 GB, free: 12.73 MB / 0.5919 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=597,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=597,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 67.89 kB / 1.06 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7782/0.7801, allocations: 160.7 MB / 1.217 GB, free: 3.996 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003136/0.7833, allocations: 1.747 MB / 1.218 GB, free: 2.625 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.7847, allocations: 0.6359 MB / 1.219 GB, free: 2.121 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.386e-05/0.7848, allocations: 1.156 kB / 1.219 GB, free: 2.121 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.7849, allocations: 13.16 kB / 1.219 GB, free: 2.109 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.785, allocations: 39.77 kB / 1.219 GB, free: 2.082 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009314/0.786, allocations: 370.2 kB / 1.219 GB, free: 1.789 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006733/0.7866, allocations: 0.5947 MB / 1.22 GB, free: 1.438 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.7867, allocations: 24.7 kB / 1.22 GB, free: 1.418 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004695/0.7872, allocations: 313.5 kB / 1.22 GB, free: 1.25 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003062/0.7875, allocations: 158.7 kB / 1.22 GB, free: 1.145 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.7876, allocations: 39.94 kB / 1.22 GB, free: 1.145 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.7877, allocations: 41.25 kB / 1.22 GB, free: 1.145 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.7879, allocations: 124.2 kB / 1.221 GB, free: 1.07 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002466/0.7882, allocations: 217.4 kB / 1.221 GB, free: 0.918 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006774/0.7888, allocations: 0.5963 MB / 1.221 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.7888, allocations: 0 / 1.221 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7888, allocations: 5.031 kB / 1.221 GB, free: 500 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.7889, allocations: 0 / 1.221 GB, free: 500 kB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001663/0.7905, allocations: 0.9252 MB / 1.222 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.7906, allocations: 10.62 kB / 1.222 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.7907, allocations: 56.22 kB / 1.222 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004963/0.7912, allocations: 332.4 kB / 1.223 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.536e-05/0.7913, allocations: 24.61 kB / 1.223 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.369e-05/0.7914, allocations: 31.8 kB / 1.223 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.7925, allocations: 247.7 kB / 1.223 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.7925, allocations: 192 / 1.223 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.7925, allocations: 9.062 kB / 1.223 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.7925, allocations: 2.344 kB / 1.223 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.7936, allocations: 114.3 kB / 1.223 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.7953, allocations: 0.672 MB / 1.224 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.7965, allocations: 177.1 kB / 1.224 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007943/0.7972, allocations: 108.4 kB / 1.224 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.7973, allocations: 2.281 kB / 1.224 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/0.7983, allocations: 227.5 kB / 1.224 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.555e-06/0.7983, allocations: 0 / 1.224 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002789/0.8011, allocations: 0.497 MB / 1.225 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/0.8012, allocations: 57.66 kB / 1.225 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00055/0.8017, allocations: 442.9 kB / 1.225 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-05/0.8018, allocations: 42.31 kB / 1.225 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.8019, allocations: 109.6 kB / 1.225 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.802, allocations: 33.47 kB / 1.225 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.8022, allocations: 144.6 kB / 1.225 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002239/0.8024, allocations: 325.4 kB / 1.226 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/0.8027, allocations: 140 kB / 1.226 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.8031, allocations: 193.9 kB / 1.226 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004442/0.8035, allocations: 306.3 kB / 1.226 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.8035, allocations: 0 / 1.226 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009524/0.8045, allocations: 0.5152 MB / 1.227 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.8046, allocations: 98 kB / 1.227 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.8046, allocations: 5.297 kB / 1.227 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.8046, allocations: 2.719 kB / 1.227 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.8048, allocations: 22.92 kB / 1.227 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.8048, allocations: 2.656 kB / 1.227 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005316/0.8053, allocations: 57.7 kB / 1.227 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.294e-05/0.8054, allocations: 64.55 kB / 1.227 GB, free: 12.23 MB / 0.9356 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0003042/0.8057, allocations: 225.8 kB / 1.227 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-05/0.8058, allocations: 37.52 kB / 1.227 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.129e-05/0.8058, allocations: 40.11 kB / 1.227 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.8059, allocations: 1.188 kB / 1.227 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.8059, allocations: 1.156 kB / 1.227 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.8059, allocations: 3.984 kB / 1.227 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002345/0.8082, allocations: 0.7942 MB / 1.228 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.8082, allocations: 0 / 1.228 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.832e-05/0.8082, allocations: 4 kB / 1.228 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.8083, allocations: 0 / 1.228 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.554e-05/0.8083, allocations: 23.97 kB / 1.228 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.8083, allocations: 11.88 kB / 1.228 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.8083, allocations: 4 kB / 1.228 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.8102, allocations: 479.5 kB / 1.229 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003961/0.8106, allocations: 248.6 kB / 1.229 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.478e-05/0.8107, allocations: 16 kB / 1.229 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004916/0.8112, allocations: 35.89 kB / 1.229 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.8112, allocations: 11.98 kB / 1.229 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-05/0.8113, allocations: 51.98 kB / 1.229 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004114/0.8117, allocations: 323.1 kB / 1.229 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8117, allocations: 0 / 1.229 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004591/0.8121, allocations: 71.95 kB / 1.229 GB, free: 10.15 MB / 0.9356 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0001999/0.8123, allocations: 131.2 kB / 1.23 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001395/0.8137, allocations: 441.9 kB / 1.23 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8137, allocations: 4.062 kB / 1.23 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007994/0.8145, allocations: 115.8 kB / 1.23 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.815, allocations: 40.28 kB / 1.23 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.8167, allocations: 0.6501 MB / 1.231 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.8172, allocations: 0.7903 MB / 1.232 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.224e-05/0.8173, allocations: 15.44 kB / 1.232 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of SimCode: time 7.42e-07/0.8173, allocations: 0 / 1.232 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of Templates: time 0.007356/0.8246, allocations: 4.091 MB / 1.236 GB, free: 3.758 MB / 0.9356 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.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