Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.001239/0.001239, allocations: 80.53 kB / 19.93 MB, free: 4.633 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.001429/0.001429, allocations: 173.9 kB / 23.21 MB, free: 1.355 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 0.9547/0.9547, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.723/1.723, allocations: 377.9 MB / 0.6229 GB, free: 8.68 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.9822 GB, free: 2.141 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.953e-05/3.127e-05, allocations: 6.281 kB / 0.9822 GB, free: 2.133 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002546/0.002577, allocations: 1.517 MB / 0.9836 GB, free: 0.6094 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009978/0.003575, allocations: 0.5381 MB / 0.9842 GB, free: 68 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.814e-05/0.003653, allocations: 0 / 0.9842 GB, free: 68 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 9.485e-05/0.003748, allocations: 7.875 kB / 0.9842 GB, free: 60 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.003861, allocations: 23.86 kB / 0.9842 GB, free: 36 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000793/0.004654, allocations: 330.3 kB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.00046/0.005114, allocations: 487.4 kB / 0.985 GB, free: 15.24 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.005158, allocations: 8 kB / 0.985 GB, free: 15.23 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003827/0.00554, allocations: 351.6 kB / 0.9853 GB, free: 14.89 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.005765, allocations: 123.8 kB / 0.9854 GB, free: 14.77 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.315e-05/0.005818, allocations: 28 kB / 0.9855 GB, free: 14.74 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.705e-05/0.005865, allocations: 27.94 kB / 0.9855 GB, free: 14.71 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.00597, allocations: 123.7 kB / 0.9856 GB, free: 14.59 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.006083, allocations: 127.7 kB / 0.9857 GB, free: 14.46 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003713/0.006454, allocations: 466.7 kB / 0.9862 GB, free: 14.01 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.006458, allocations: 0 / 0.9862 GB, free: 14.01 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.733e-06/0.00646, allocations: 4 kB / 0.9862 GB, free: 14 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.006467, allocations: 3.938 kB / 0.9862 GB, free: 14 MB / 0.948 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.0009447/0.007412, allocations: 0.7912 MB / 0.987 GB, free: 13.14 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.00745, allocations: 12.03 kB / 0.987 GB, free: 13.12 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.7e-05/0.007547, allocations: 52.7 kB / 0.987 GB, free: 13.07 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.007826, allocations: 256 kB / 0.9873 GB, free: 12.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.007862, allocations: 16.38 kB / 0.9873 GB, free: 12.79 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.00791, allocations: 32.36 kB / 0.9873 GB, free: 12.75 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005336/0.008443, allocations: 233.1 kB / 0.9875 GB, free: 12.52 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.008451, allocations: 192 / 0.9875 GB, free: 12.52 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.00847, allocations: 384 / 0.9875 GB, free: 12.52 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.008476, allocations: 4.375 kB / 0.9875 GB, free: 12.52 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003496/0.008826, allocations: 119.7 kB / 0.9876 GB, free: 12.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005547/0.009381, allocations: 289 kB / 0.9879 GB, free: 12.09 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005086/0.009889, allocations: 182.5 kB / 0.9881 GB, free: 11.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000344/0.01023, allocations: 120.8 kB / 0.9882 GB, free: 11.78 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.01026, allocations: 0 / 0.9882 GB, free: 11.78 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005092/0.01077, allocations: 247 kB / 0.9884 GB, free: 11.53 MB / 0.948 GB Notification: Performance of pre-optimization done (n=16): time 1.203e-06/0.01077, allocations: 3.938 kB / 0.9885 GB, free: 11.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=16): time 0.00127/0.01204, allocations: 0.5206 MB / 0.989 GB, free: 11 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.01208, allocations: 59.41 kB / 0.989 GB, free: 10.93 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.01236, allocations: 409.9 kB / 0.9894 GB, free: 10.52 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/0.0124, allocations: 41.69 kB / 0.9894 GB, free: 10.47 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.445e-05/0.01245, allocations: 97.44 kB / 0.9895 GB, free: 10.37 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.01249, allocations: 43.69 kB / 0.9896 GB, free: 10.32 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.01262, allocations: 133.5 kB / 0.9897 GB, free: 10.19 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.847e-05/0.01269, allocations: 322.8 kB / 0.99 GB, free: 9.863 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.0129, allocations: 191.2 kB / 0.9902 GB, free: 9.664 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.01312, allocations: 253.2 kB / 0.9904 GB, free: 9.383 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.01336, allocations: 263.9 kB / 0.9907 GB, free: 9.094 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01336, allocations: 0 / 0.9907 GB, free: 9.094 MB / 0.948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005611/0.01392, allocations: 0.5625 MB / 0.9912 GB, free: 8.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.204e-05/0.01398, allocations: 79.38 kB / 0.9913 GB, free: 8.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.01399, allocations: 4 kB / 0.9913 GB, free: 8.406 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.01401, allocations: 0 / 0.9913 GB, free: 8.406 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.01412, allocations: 23.97 kB / 0.9913 GB, free: 8.383 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.01413, allocations: 11.88 kB / 0.9914 GB, free: 8.371 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.01437, allocations: 75.92 kB / 0.9914 GB, free: 8.297 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-05/0.01443, allocations: 59.98 kB / 0.9915 GB, free: 8.238 MB / 0.948 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.0001619/0.01459, allocations: 191.8 kB / 0.9917 GB, free: 8.043 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.01463, allocations: 35.77 kB / 0.9917 GB, free: 8.008 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.33e-05/0.01468, allocations: 43.69 kB / 0.9917 GB, free: 7.965 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01468, allocations: 3.938 kB / 0.9917 GB, free: 7.961 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.01469, allocations: 0 / 0.9917 GB, free: 7.961 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.0147, allocations: 11.92 kB / 0.9918 GB, free: 7.949 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.01588, allocations: 0.7077 MB / 0.9924 GB, free: 7.203 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01589, allocations: 0 / 0.9924 GB, free: 7.203 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.385e-05/0.01591, allocations: 7.938 kB / 0.9925 GB, free: 7.195 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.01591, allocations: 0 / 0.9925 GB, free: 7.195 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.01594, allocations: 27.91 kB / 0.9925 GB, free: 7.168 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01594, allocations: 3.984 kB / 0.9925 GB, free: 7.164 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01594, allocations: 0 / 0.9925 GB, free: 7.164 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008703/0.01681, allocations: 0.4995 MB / 0.993 GB, free: 6.648 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002441/0.01706, allocations: 125.5 kB / 0.9931 GB, free: 6.527 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.187e-05/0.01711, allocations: 31.86 kB / 0.9931 GB, free: 6.496 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.01735, allocations: 31.97 kB / 0.9932 GB, free: 6.465 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.01738, allocations: 7.984 kB / 0.9932 GB, free: 6.457 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.687e-05/0.01743, allocations: 67.95 kB / 0.9932 GB, free: 6.391 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001882/0.01762, allocations: 295.1 kB / 0.9935 GB, free: 6.109 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01762, allocations: 0 / 0.9935 GB, free: 6.109 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003142/0.01793, allocations: 63.98 kB / 0.9936 GB, free: 6.047 MB / 0.948 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.0001286/0.01806, allocations: 125.3 kB / 0.9937 GB, free: 5.918 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007188/0.01878, allocations: 493.8 kB / 0.9942 GB, free: 5.398 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01878, allocations: 0 / 0.9942 GB, free: 5.398 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003534/0.01913, allocations: 127.2 kB / 0.9943 GB, free: 5.277 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.01939, allocations: 38.41 kB / 0.9943 GB, free: 5.242 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.02054, allocations: 0.6142 MB / 0.9949 GB, free: 4.59 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.02065, allocations: 162.8 kB / 0.9951 GB, free: 4.414 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.02068, allocations: 16.5 kB / 0.9951 GB, free: 4.398 MB / 0.948 GB Notification: Performance of SimCode: time 7.21e-07/0.02069, allocations: 0 / 0.9951 GB, free: 4.398 MB / 0.948 GB Notification: Performance of Templates: time 0.004596/0.02528, allocations: 3.691 MB / 0.9987 GB, free: 0.6523 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.904711765237153]