Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.001382/0.001382, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001551/0.001551, allocations: 216.4 kB / 22.25 MB, free: 5.262 MB / 14.72 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.553/1.553, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.861/2.861, allocations: 475.9 MB / 0.7699 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,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.CalendarTimeMonths") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 68.12 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3897, allocations: 169.9 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003597/0.3933, allocations: 1.744 MB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.395, allocations: 0.5992 MB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.186e-05/0.3951, allocations: 0 / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.3952, allocations: 11.86 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.3953, allocations: 35.78 kB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.3963, allocations: 374.9 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007091/0.3971, allocations: 0.597 MB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.3972, allocations: 21.23 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004467/0.3976, allocations: 323.5 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003371/0.398, allocations: 143.6 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.3981, allocations: 40 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.3982, allocations: 44 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.3984, allocations: 123.6 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.3986, allocations: 179.2 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007149/0.3993, allocations: 0.5996 MB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3993, allocations: 0 / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3993, allocations: 3.938 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.3993, allocations: 0 / 1.288 GB, free: 7.09 MB / 0.9825 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.001548/0.4009, allocations: 0.8339 MB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.4009, allocations: 8.031 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.401, allocations: 60.62 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/0.4015, allocations: 284.7 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.247e-05/0.4016, allocations: 20.36 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.47e-05/0.4017, allocations: 36.3 kB / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.4027, allocations: 230 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.4027, allocations: 192 / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.4027, allocations: 15.86 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.4028, allocations: 3.938 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007655/0.4035, allocations: 117.6 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.4049, allocations: 0.5313 MB / 1.29 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.4059, allocations: 174.4 kB / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007125/0.4066, allocations: 104.8 kB / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.4067, allocations: 4 kB / 1.29 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009839/0.4077, allocations: 238 kB / 1.29 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.933e-06/0.4077, allocations: 0 / 1.29 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002644/0.4103, allocations: 0.4894 MB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/0.4104, allocations: 63.39 kB / 1.291 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005643/0.4109, allocations: 445.9 kB / 1.291 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.526e-05/0.411, allocations: 37.7 kB / 1.291 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.4111, allocations: 101.4 kB / 1.291 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.164e-05/0.4112, allocations: 43.67 kB / 1.291 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/0.4114, allocations: 141.4 kB / 1.292 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.4116, allocations: 326.8 kB / 1.292 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004064/0.412, allocations: 223.3 kB / 1.292 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004287/0.4124, allocations: 266.6 kB / 1.292 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004373/0.4129, allocations: 299.8 kB / 1.293 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.4129, allocations: 4 kB / 1.293 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001042/0.4139, allocations: 0.5899 MB / 1.293 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.414, allocations: 94.38 kB / 1.293 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.4141, allocations: 4 kB / 1.293 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.4141, allocations: 4 kB / 1.293 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.4143, allocations: 23.91 kB / 1.293 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.4143, allocations: 7.984 kB / 1.293 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004812/0.4148, allocations: 55.84 kB / 1.293 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.1e-05/0.4148, allocations: 63.98 kB / 1.293 GB, free: 0.8945 MB / 0.9825 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.0002947/0.4151, allocations: 224.3 kB / 1.294 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.21e-05/0.4152, allocations: 43.7 kB / 1.294 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.471e-05/0.4153, allocations: 47.67 kB / 1.294 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4153, allocations: 0 / 1.294 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.4153, allocations: 0 / 1.294 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.4153, allocations: 0 / 1.294 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.4176, allocations: 0.719 MB / 1.294 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4176, allocations: 0 / 1.294 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.768e-05/0.4176, allocations: 4 kB / 1.294 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.4176, allocations: 0 / 1.294 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.239e-05/0.4177, allocations: 23.97 kB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4177, allocations: 0 / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4177, allocations: 0 / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.4195, allocations: 0.4915 MB / 1.295 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004043/0.4199, allocations: 181.5 kB / 1.295 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.18e-05/0.42, allocations: 19.98 kB / 1.295 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004621/0.4204, allocations: 23.97 kB / 1.295 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.4205, allocations: 19.92 kB / 1.295 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-05/0.4206, allocations: 59.97 kB / 1.295 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003699/0.4209, allocations: 315.1 kB / 1.296 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.4209, allocations: 4 kB / 1.296 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004034/0.4213, allocations: 71.92 kB / 1.296 GB, free: 14.61 MB / 0.9981 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.000183/0.4215, allocations: 115.7 kB / 1.296 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001496/0.423, allocations: 0.5125 MB / 1.296 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.423, allocations: 4 kB / 1.296 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000793/0.4238, allocations: 107.9 kB / 1.296 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.4243, allocations: 40.45 kB / 1.296 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.4259, allocations: 0.6059 MB / 1.297 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.4261, allocations: 178.9 kB / 1.297 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.629e-05/0.4262, allocations: 9.438 kB / 1.297 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.937e-05/0.4263, allocations: 23.42 kB / 1.297 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.4263, allocations: 0 / 1.297 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of Templates: time 0.01237/0.4386, allocations: 6.595 MB / 1.304 GB, free: 6.297 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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: 9.614118836820126]