Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002599/0.002599, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003127/0.003127, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.583/1.583, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.893/2.893, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.7863 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.902e-05, allocations: 3.25 kB / 0.7863 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003097/0.003126, allocations: 1.54 MB / 0.7878 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.004556, allocations: 0.5347 MB / 0.7884 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.908e-05/0.004605, allocations: 0 / 0.7884 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.00471, allocations: 13.42 kB / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.004834, allocations: 31.73 kB / 0.7884 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000826/0.00566, allocations: 312.8 kB / 0.7887 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006122/0.006272, allocations: 483.4 kB / 0.7892 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.006313, allocations: 4 kB / 0.7892 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005624/0.006876, allocations: 360.7 kB / 0.7895 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00032/0.007196, allocations: 132.1 kB / 0.7896 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.007322, allocations: 24 kB / 0.7897 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.007442, allocations: 29.12 kB / 0.7897 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.00761, allocations: 111.7 kB / 0.7898 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.007814, allocations: 135.7 kB / 0.7899 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006153/0.00843, allocations: 464.9 kB / 0.7904 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.008434, allocations: 0 / 0.7904 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.312e-06/0.008435, allocations: 0 / 0.7904 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.008442, allocations: 4 kB / 0.7904 GB, free: 8.746 MB / 0.7448 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.0015/0.009941, allocations: 0.9219 MB / 0.7913 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.00998, allocations: 10.03 kB / 0.7913 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.01016, allocations: 64.69 kB / 0.7913 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000503/0.01066, allocations: 250.9 kB / 0.7916 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.682e-05/0.01072, allocations: 24.3 kB / 0.7916 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.812e-05/0.01081, allocations: 32.36 kB / 0.7916 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000633/0.01144, allocations: 187.3 kB / 0.7918 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.01145, allocations: 4.125 kB / 0.7918 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/0.01148, allocations: 18 kB / 0.7918 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.01149, allocations: 384 / 0.7918 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004023/0.01189, allocations: 83.89 kB / 0.7919 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005043/0.01239, allocations: 333 kB / 0.7922 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006345/0.01303, allocations: 157.1 kB / 0.7924 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.01341, allocations: 81.02 kB / 0.7925 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.777e-05/0.01345, allocations: 7.984 kB / 0.7925 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006049/0.01406, allocations: 217.6 kB / 0.7927 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.01406, allocations: 0 / 0.7927 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.001577/0.01564, allocations: 435.6 kB / 0.7931 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.0157, allocations: 63.34 kB / 0.7932 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005394/0.01624, allocations: 470.7 kB / 0.7936 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.453e-05/0.01631, allocations: 43.05 kB / 0.7936 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.01643, allocations: 140.2 kB / 0.7938 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.146e-05/0.01649, allocations: 47.73 kB / 0.7938 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.01673, allocations: 139.1 kB / 0.794 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004005/0.01713, allocations: 0.4952 MB / 0.7944 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/0.0175, allocations: 211.3 kB / 0.7946 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004428/0.01794, allocations: 294.3 kB / 0.7949 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004673/0.01841, allocations: 321.4 kB / 0.7952 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.01841, allocations: 1.938 kB / 0.7952 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001067/0.01948, allocations: 0.6151 MB / 0.7958 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.915e-05/0.01958, allocations: 81.97 kB / 0.7959 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.01959, allocations: 3.984 kB / 0.7959 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.01962, allocations: 7.938 kB / 0.7959 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.01984, allocations: 35.97 kB / 0.796 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.031e-05/0.01986, allocations: 7.938 kB / 0.796 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/0.0202, allocations: 44.77 kB / 0.796 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.02031, allocations: 59.92 kB / 0.7961 GB, free: 2.57 MB / 0.7448 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.0002255/0.02053, allocations: 187.3 kB / 0.7962 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.833e-05/0.02062, allocations: 49.03 kB / 0.7963 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.147e-05/0.02069, allocations: 35.69 kB / 0.7963 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.0207, allocations: 4 kB / 0.7963 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.0207, allocations: 0 / 0.7963 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.02071, allocations: 8.766 kB / 0.7963 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.02242, allocations: 0.7389 MB / 0.7971 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.02242, allocations: 0 / 0.7971 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.442e-05/0.02246, allocations: 4 kB / 0.7971 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.02246, allocations: 4 kB / 0.7971 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-05/0.02251, allocations: 23.91 kB / 0.7971 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.02251, allocations: 3.938 kB / 0.7971 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.02251, allocations: 0 / 0.7971 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.02363, allocations: 0.5005 MB / 0.7976 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/0.02393, allocations: 125.5 kB / 0.7977 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.553e-05/0.02401, allocations: 16.94 kB / 0.7977 GB, free: 0.8164 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/0.02428, allocations: 19.98 kB / 0.7977 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.02432, allocations: 9.047 kB / 0.7977 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.072e-05/0.0244, allocations: 55.97 kB / 0.7978 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003179/0.02472, allocations: 296.2 kB / 0.7981 GB, free: 456 kB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.02472, allocations: 0 / 0.7981 GB, free: 456 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003617/0.02508, allocations: 63.98 kB / 0.7981 GB, free: 392 kB / 0.7448 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.0001805/0.02526, allocations: 118.7 kB / 0.7983 GB, free: 264 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001173/0.02643, allocations: 0.5892 MB / 0.7988 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.02644, allocations: 0.5 kB / 0.7988 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004306/0.02687, allocations: 111.6 kB / 0.7989 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.02726, allocations: 49.61 kB / 0.799 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.0284, allocations: 0.5011 MB / 0.7995 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.02859, allocations: 158.8 kB / 0.7996 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 6.969e-05/0.02866, allocations: 13.16 kB / 0.7996 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.02871, allocations: 20.48 kB / 0.7997 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of SimCode: time 7.82e-07/0.02871, allocations: 0 / 0.7997 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of Templates: time 0.01186/0.04057, allocations: 5.875 MB / 0.8054 GB, free: 8.816 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.032182103022933]