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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.633/2.633, allocations: 443.4 MB / 0.7304 GB, free: 14.04 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,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.001981/0.001981, allocations: 67.88 kB / 1.059 GB, free: 352 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3796, allocations: 160.7 MB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003783/0.3834, allocations: 1.746 MB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.3849, allocations: 0.6373 MB / 1.219 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.64e-05/0.385, allocations: 4 kB / 1.219 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.3851, allocations: 11.86 kB / 1.219 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.3853, allocations: 39.56 kB / 1.219 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009619/0.3862, allocations: 367.3 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007084/0.3869, allocations: 0.5931 MB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.3871, allocations: 21.11 kB / 1.22 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004264/0.3875, allocations: 315.5 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.3878, allocations: 155.6 kB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.567e-05/0.3879, allocations: 44 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.472e-05/0.388, allocations: 40 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.3881, allocations: 123.6 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002567/0.3884, allocations: 222.9 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007485/0.3892, allocations: 0.5995 MB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/0.3892, allocations: 4 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.986e-06/0.3892, allocations: 0 / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.3892, allocations: 0 / 1.221 GB, free: 10.39 MB / 0.9669 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.001791/0.391, allocations: 0.9131 MB / 1.222 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.391, allocations: 8.031 kB / 1.222 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.3911, allocations: 56.66 kB / 1.222 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005132/0.3917, allocations: 350.5 kB / 1.222 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.552e-05/0.3917, allocations: 16.38 kB / 1.222 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-05/0.3918, allocations: 32.36 kB / 1.222 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.3928, allocations: 231.8 kB / 1.223 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3928, allocations: 4.188 kB / 1.223 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/0.3929, allocations: 15.92 kB / 1.223 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3929, allocations: 0 / 1.223 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007385/0.3936, allocations: 115.9 kB / 1.223 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.395, allocations: 0.672 MB / 1.223 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009806/0.396, allocations: 170.5 kB / 1.223 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007057/0.3967, allocations: 108.8 kB / 1.224 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.3967, allocations: 7.984 kB / 1.224 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009643/0.3977, allocations: 232.7 kB / 1.224 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.3977, allocations: 0 / 1.224 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002474/0.4002, allocations: 493.3 kB / 1.224 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.4002, allocations: 67.39 kB / 1.224 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005703/0.4008, allocations: 445.8 kB / 1.225 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.034e-05/0.4009, allocations: 41.7 kB / 1.225 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.401, allocations: 101.4 kB / 1.225 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.39e-05/0.401, allocations: 43.69 kB / 1.225 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002481/0.4013, allocations: 133.5 kB / 1.225 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.4015, allocations: 334.7 kB / 1.225 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/0.4018, allocations: 143.9 kB / 1.226 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.4021, allocations: 190.9 kB / 1.226 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004421/0.4026, allocations: 295.5 kB / 1.226 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.4026, allocations: 4 kB / 1.226 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009561/0.4035, allocations: 0.5219 MB / 1.226 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.4036, allocations: 97.41 kB / 1.227 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4036, allocations: 0 / 1.227 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.4037, allocations: 4 kB / 1.227 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.4038, allocations: 24.11 kB / 1.227 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4038, allocations: 4 kB / 1.227 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/0.4043, allocations: 63.8 kB / 1.227 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.4044, allocations: 63.97 kB / 1.227 GB, free: 4.129 MB / 0.9669 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.0003002/0.4047, allocations: 220.3 kB / 1.227 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.18e-05/0.4048, allocations: 39.77 kB / 1.227 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.057e-05/0.4049, allocations: 43.78 kB / 1.227 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.4049, allocations: 0 / 1.227 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.4049, allocations: 0 / 1.227 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4049, allocations: 0 / 1.227 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/0.4071, allocations: 0.7912 MB / 1.228 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4071, allocations: 7.938 kB / 1.228 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.722e-05/0.4072, allocations: 8 kB / 1.228 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.4072, allocations: 4 kB / 1.228 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/0.4072, allocations: 19.97 kB / 1.228 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.4072, allocations: 3.938 kB / 1.228 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4072, allocations: 0 / 1.228 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.4089, allocations: 485 kB / 1.228 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003158/0.4092, allocations: 240.7 kB / 1.229 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.327e-05/0.4093, allocations: 19.98 kB / 1.229 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004567/0.4098, allocations: 35.91 kB / 1.229 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.4098, allocations: 11.98 kB / 1.229 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.521e-05/0.4099, allocations: 59.91 kB / 1.229 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003678/0.4103, allocations: 319.1 kB / 1.229 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.4103, allocations: 0 / 1.229 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003835/0.4107, allocations: 71.94 kB / 1.229 GB, free: 1.684 MB / 0.9669 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.0002314/0.4109, allocations: 124 kB / 1.229 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001316/0.4122, allocations: 446.4 kB / 1.23 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.4122, allocations: 3.938 kB / 1.23 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007196/0.4129, allocations: 108.3 kB / 1.23 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.4134, allocations: 39.08 kB / 1.23 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.415, allocations: 0.6289 MB / 1.23 GB, free: 296 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/0.4155, allocations: 0.7825 MB / 1.231 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.352e-05/0.4156, allocations: 13.44 kB / 1.231 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.346e-05/0.4157, allocations: 23.41 kB / 1.231 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.4157, allocations: 0 / 1.231 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of Templates: time 0.01046/0.4261, allocations: 5.471 MB / 1.236 GB, free: 9.875 MB / 0.9825 GB " [Timeout remaining time 300] 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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.54046050645411]