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.001352/0.001352, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001472/0.001472, allocations: 161 kB / 23.82 MB, free: 0.75 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.9358/0.9358, allocations: 177.2 MB / 204.2 MB, free: 5.59 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.794/1.794, allocations: 359 MB / 0.6052 GB, free: 11 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.813e-06/1.813e-06, allocations: 0 / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.216e-05, allocations: 5.594 kB / 0.7872 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002462/0.002494, allocations: 1.787 MB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.003791, allocations: 0.6149 MB / 0.7895 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.62e-05/0.003887, allocations: 0.5625 kB / 0.7895 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.00402, allocations: 11.81 kB / 0.7895 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.004191, allocations: 36.47 kB / 0.7896 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008715/0.005062, allocations: 368.8 kB / 0.7899 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005431/0.005605, allocations: 0.597 MB / 0.7905 GB, free: 9 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.005716, allocations: 22.02 kB / 0.7905 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004292/0.006146, allocations: 419.5 kB / 0.7909 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.006377, allocations: 149.1 kB / 0.7911 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.349e-05/0.00644, allocations: 40 kB / 0.7911 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.247e-05/0.006503, allocations: 41.34 kB / 0.7911 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.006609, allocations: 131.6 kB / 0.7913 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.006732, allocations: 147.7 kB / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003982/0.007131, allocations: 434.7 kB / 0.7918 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.007133, allocations: 1.594 kB / 0.7918 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.102e-06/0.007134, allocations: 0 / 0.7918 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.007141, allocations: 0 / 0.7918 GB, free: 7.648 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.001027/0.008168, allocations: 0.9489 MB / 0.7927 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.008206, allocations: 8.031 kB / 0.7928 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.008322, allocations: 64.66 kB / 0.7928 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.008599, allocations: 290.7 kB / 0.7931 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/0.008635, allocations: 16.38 kB / 0.7931 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.983e-05/0.008684, allocations: 32.36 kB / 0.7931 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.009061, allocations: 217.3 kB / 0.7933 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.00907, allocations: 192 / 0.7933 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.00909, allocations: 1 kB / 0.7933 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.009099, allocations: 4.375 kB / 0.7934 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.009205, allocations: 70.8 kB / 0.7934 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007595/0.009965, allocations: 0.6155 MB / 0.794 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.01017, allocations: 128.4 kB / 0.7941 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.985e-05/0.01027, allocations: 72.94 kB / 0.7942 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.01029, allocations: 7.656 kB / 0.7942 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.01049, allocations: 178.8 kB / 0.7944 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/0.01049, allocations: 1.094 kB / 0.7944 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0005341/0.01102, allocations: 381.7 kB / 0.7948 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.01106, allocations: 63.41 kB / 0.7948 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.01141, allocations: 434.7 kB / 0.7952 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.01145, allocations: 37.7 kB / 0.7953 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/0.01152, allocations: 148.1 kB / 0.7954 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.01155, allocations: 47.67 kB / 0.7955 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.01167, allocations: 135.1 kB / 0.7956 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.01179, allocations: 0.4962 MB / 0.7961 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.012, allocations: 187.3 kB / 0.7962 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.01221, allocations: 257 kB / 0.7965 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.01245, allocations: 285.6 kB / 0.7968 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.01245, allocations: 4 kB / 0.7968 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005495/0.013, allocations: 0.5762 MB / 0.7973 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.872e-05/0.01306, allocations: 87.38 kB / 0.7974 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01306, allocations: 4.188 kB / 0.7974 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.01308, allocations: 4 kB / 0.7974 GB, free: 1.578 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.01319, allocations: 31.97 kB / 0.7975 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.0132, allocations: 7.938 kB / 0.7975 GB, free: 1.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.01337, allocations: 47.86 kB / 0.7975 GB, free: 1.492 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/0.01342, allocations: 59.98 kB / 0.7976 GB, free: 1.434 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.0001197/0.01354, allocations: 179.2 kB / 0.7977 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.01359, allocations: 55.69 kB / 0.7978 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.129e-05/0.01363, allocations: 43.66 kB / 0.7978 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.01363, allocations: 4 kB / 0.7978 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01364, allocations: 0 / 0.7978 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01364, allocations: 0 / 0.7978 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006126/0.01425, allocations: 0.6926 MB / 0.7985 GB, free: 420 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01426, allocations: 4 kB / 0.7985 GB, free: 416 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-05/0.01428, allocations: 7.922 kB / 0.7985 GB, free: 408 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01428, allocations: 7.938 kB / 0.7985 GB, free: 400 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.01431, allocations: 27.97 kB / 0.7986 GB, free: 372 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01431, allocations: 3.984 kB / 0.7986 GB, free: 368 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01431, allocations: 0 / 0.7986 GB, free: 368 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.01469, allocations: 468.1 kB / 0.799 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.01485, allocations: 169.5 kB / 0.7992 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.363e-05/0.0149, allocations: 20 kB / 0.7992 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.01504, allocations: 19.97 kB / 0.7992 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.01507, allocations: 11.98 kB / 0.7992 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.431e-05/0.01511, allocations: 59.97 kB / 0.7993 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001656/0.01528, allocations: 279.1 kB / 0.7995 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.01528, allocations: 0 / 0.7995 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002288/0.01551, allocations: 68 kB / 0.7996 GB, free: 15.27 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 0.0001234/0.01563, allocations: 125.7 kB / 0.7997 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004555/0.01609, allocations: 453.8 kB / 0.8002 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01609, allocations: 0 / 0.8002 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.01619, allocations: 79.72 kB / 0.8002 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.0002739/0.01647, allocations: 64.64 kB / 0.8003 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005809/0.01705, allocations: 0.4948 MB / 0.8008 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.705e-05/0.01711, allocations: 91.81 kB / 0.8009 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 4.175e-05/0.01715, allocations: 17.48 kB / 0.8009 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.01718, allocations: 16.5 kB / 0.8009 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of SimCode: time 1.052e-06/0.01719, allocations: 3.938 kB / 0.8009 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of Templates: time 0.00807/0.02526, allocations: 7.036 MB / 0.8078 GB, free: 6.777 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: 5.026122663170099]