Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.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.001037/0.001037, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009579/0.0009579, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9284/0.9284, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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 1.786/1.786, allocations: 359 MB / 0.6055 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] 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.Controls.OBC.CDL.Reals.Sources.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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.7876 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.69e-05/1.831e-05, allocations: 6.25 kB / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.001914/0.001933, allocations: 1.773 MB / 0.7893 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.002935, allocations: 0.6129 MB / 0.7899 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.013e-05/0.002995, allocations: 0 / 0.7899 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 8.733e-05/0.003082, allocations: 16.91 kB / 0.79 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.003191, allocations: 35.72 kB / 0.79 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005657/0.003757, allocations: 378.4 kB / 0.7904 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003848/0.004141, allocations: 0.597 MB / 0.7909 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.126e-05/0.004223, allocations: 25.28 kB / 0.791 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003621/0.004585, allocations: 420.6 kB / 0.7914 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.004793, allocations: 151.9 kB / 0.7915 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.164e-05/0.004855, allocations: 40 kB / 0.7915 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.744e-05/0.004912, allocations: 40 kB / 0.7916 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.005016, allocations: 129 kB / 0.7917 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.005123, allocations: 151.7 kB / 0.7919 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.005429, allocations: 434.7 kB / 0.7923 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.00543, allocations: 0 / 0.7923 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.31e-07/0.005431, allocations: 2.844 kB / 0.7923 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.055e-06/0.005434, allocations: 0 / 0.7923 GB, free: 7.371 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007662/0.0062, allocations: 0.9494 MB / 0.7932 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.006233, allocations: 12.03 kB / 0.7932 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.388e-05/0.006317, allocations: 68.58 kB / 0.7933 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.006544, allocations: 279.5 kB / 0.7935 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.006574, allocations: 20.38 kB / 0.7936 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.556e-05/0.006619, allocations: 37.67 kB / 0.7936 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.00693, allocations: 211 kB / 0.7938 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.006936, allocations: 192 / 0.7938 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.006951, allocations: 1 kB / 0.7938 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.006957, allocations: 4.375 kB / 0.7938 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.643e-05/0.007043, allocations: 60.67 kB / 0.7939 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006193/0.007663, allocations: 0.5523 MB / 0.7944 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.00783, allocations: 125 kB / 0.7945 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.293e-05/0.007913, allocations: 54.75 kB / 0.7946 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.007934, allocations: 8.5 kB / 0.7946 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.008105, allocations: 184.1 kB / 0.7948 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.263e-06/0.008106, allocations: 0.6562 kB / 0.7948 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0004617/0.008568, allocations: 360.8 kB / 0.7951 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.0086, allocations: 59.41 kB / 0.7952 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.008848, allocations: 430.4 kB / 0.7956 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.008885, allocations: 45.69 kB / 0.7956 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.626e-05/0.008951, allocations: 152.1 kB / 0.7958 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.008983, allocations: 47.61 kB / 0.7958 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.009102, allocations: 143.1 kB / 0.7959 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.009207, allocations: 0.4962 MB / 0.7964 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.009354, allocations: 171.3 kB / 0.7966 GB, free: 2.75 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.009516, allocations: 237.1 kB / 0.7968 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.009698, allocations: 266.6 kB / 0.7971 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.0097, allocations: 4 kB / 0.7971 GB, free: 2.172 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004504/0.01015, allocations: 0.5453 MB / 0.7976 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.906e-05/0.0102, allocations: 87.38 kB / 0.7977 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.0102, allocations: 0 / 0.7977 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.01021, allocations: 4 kB / 0.7977 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.838e-05/0.01031, allocations: 39.91 kB / 0.7977 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.01032, allocations: 7.984 kB / 0.7977 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.01047, allocations: 52.05 kB / 0.7978 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/0.01052, allocations: 59.97 kB / 0.7978 GB, free: 1.34 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.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.0001098/0.01063, allocations: 191.1 kB / 0.798 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.475e-05/0.01068, allocations: 43.7 kB / 0.7981 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.062e-05/0.01072, allocations: 39.72 kB / 0.7981 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01072, allocations: 4 kB / 0.7981 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.01072, allocations: 0 / 0.7981 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01073, allocations: 0 / 0.7981 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005368/0.01126, allocations: 0.6374 MB / 0.7987 GB, free: 396 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.01126, allocations: 0 / 0.7987 GB, free: 396 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.935e-05/0.01128, allocations: 7.984 kB / 0.7987 GB, free: 388 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01129, allocations: 4 kB / 0.7987 GB, free: 384 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.01131, allocations: 23.98 kB / 0.7988 GB, free: 360 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.01131, allocations: 3.984 kB / 0.7988 GB, free: 356 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01131, allocations: 0 / 0.7988 GB, free: 356 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.01166, allocations: 467.8 kB / 0.7992 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.01182, allocations: 165.5 kB / 0.7994 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.01186, allocations: 16 kB / 0.7994 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.01202, allocations: 31.97 kB / 0.7994 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.01204, allocations: 7.984 kB / 0.7994 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.776e-05/0.01208, allocations: 59.97 kB / 0.7995 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001266/0.01221, allocations: 263 kB / 0.7997 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.01221, allocations: 4 kB / 0.7997 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002082/0.01241, allocations: 75.98 kB / 0.7998 GB, free: 15.26 MB / 0.7605 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 9.428e-05/0.01251, allocations: 123.2 kB / 0.7999 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004042/0.01291, allocations: 441.5 kB / 0.8003 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-06/0.01291, allocations: 0 / 0.8003 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.092e-05/0.01301, allocations: 82.48 kB / 0.8004 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.01325, allocations: 64.39 kB / 0.8005 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004839/0.01373, allocations: 498.7 kB / 0.801 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.694e-05/0.01378, allocations: 91.8 kB / 0.8011 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.709e-05/0.01382, allocations: 17.48 kB / 0.8011 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.01398, allocations: 142.2 kB / 0.8012 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of SimCode: time 6.31e-07/0.01398, allocations: 4 kB / 0.8012 GB, free: 13.72 MB / 0.7605 GB Notification: Performance of Templates: time 0.006387/0.02037, allocations: 5.904 MB / 0.807 GB, free: 7.789 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.898054345045239]