Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001414/0.001414, 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.00151/0.00151, allocations: 214.3 kB / 22.24 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.656/1.656, allocations: 230.6 MB / 256 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.554/3.554, allocations: 0.4892 GB / 0.7943 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [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.002077/0.002077, allocations: 72.39 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4023, allocations: 176.1 MB / 1.326 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003548/0.4058, allocations: 1.743 MB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.4074, allocations: 0.6012 MB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.323e-05/0.4075, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.4076, allocations: 7.875 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.4078, allocations: 39.77 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009516/0.4087, allocations: 371.4 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006669/0.4094, allocations: 0.6008 MB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.4095, allocations: 25.23 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004238/0.4099, allocations: 315.6 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003103/0.4102, allocations: 147.3 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.4104, allocations: 43.98 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.4105, allocations: 40 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.4106, allocations: 131.6 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.4109, allocations: 183.2 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006598/0.4115, allocations: 0.5957 MB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4115, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4115, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.4115, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 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.001418/0.4129, allocations: 0.8356 MB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.413, allocations: 8.031 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.4131, allocations: 60.64 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005035/0.4136, allocations: 284.6 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.141e-05/0.4137, allocations: 20.38 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.909e-05/0.4137, allocations: 32.36 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.4148, allocations: 230 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.4148, allocations: 192 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.4148, allocations: 11.92 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.4148, allocations: 0 / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007627/0.4156, allocations: 123.8 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.4169, allocations: 0.5313 MB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.4179, allocations: 174.5 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007231/0.4187, allocations: 104.8 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.4187, allocations: 4 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009841/0.4197, allocations: 231.1 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.557e-05/0.4197, allocations: 0 / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002645/0.4223, allocations: 0.4919 MB / 1.333 GB, free: 9.707 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.4224, allocations: 63.39 kB / 1.333 GB, free: 9.633 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005152/0.4229, allocations: 445.9 kB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.538e-05/0.423, allocations: 37.7 kB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.4231, allocations: 105.3 kB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/0.4231, allocations: 43.72 kB / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002258/0.4234, allocations: 141.4 kB / 1.334 GB, free: 8.844 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4235, allocations: 330.8 kB / 1.334 GB, free: 8.512 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/0.4239, allocations: 219.3 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004059/0.4243, allocations: 273.2 kB / 1.335 GB, free: 7.984 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004346/0.4248, allocations: 295 kB / 1.335 GB, free: 7.664 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.4248, allocations: 7.938 kB / 1.335 GB, free: 7.656 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001035/0.4258, allocations: 0.5877 MB / 1.336 GB, free: 7.039 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.923e-05/0.4259, allocations: 87.56 kB / 1.336 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.4259, allocations: 8 kB / 1.336 GB, free: 6.934 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.4259, allocations: 4 kB / 1.336 GB, free: 6.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.4261, allocations: 23.91 kB / 1.336 GB, free: 6.906 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.4261, allocations: 7.984 kB / 1.336 GB, free: 6.898 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004872/0.4266, allocations: 59.78 kB / 1.336 GB, free: 6.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.213e-05/0.4267, allocations: 63.98 kB / 1.336 GB, free: 6.777 MB / 1.029 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.0003119/0.427, allocations: 220.8 kB / 1.336 GB, free: 6.551 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.237e-05/0.4271, allocations: 43.7 kB / 1.336 GB, free: 6.508 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.207e-05/0.4272, allocations: 43.73 kB / 1.336 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4272, allocations: 0 / 1.336 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4272, allocations: 0 / 1.336 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4272, allocations: 0 / 1.336 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/0.4295, allocations: 0.7206 MB / 1.337 GB, free: 5.703 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4295, allocations: 0 / 1.337 GB, free: 5.703 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.779e-05/0.4295, allocations: 4 kB / 1.337 GB, free: 5.699 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.4295, allocations: 0 / 1.337 GB, free: 5.699 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.4296, allocations: 23.97 kB / 1.337 GB, free: 5.676 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4296, allocations: 0 / 1.337 GB, free: 5.676 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4296, allocations: 0 / 1.337 GB, free: 5.676 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.4313, allocations: 495.4 kB / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003849/0.4317, allocations: 173.5 kB / 1.338 GB, free: 5.008 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.251e-05/0.4318, allocations: 23.94 kB / 1.338 GB, free: 4.984 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004684/0.4323, allocations: 27.95 kB / 1.338 GB, free: 4.957 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.4323, allocations: 15.86 kB / 1.338 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.252e-05/0.4324, allocations: 67.97 kB / 1.338 GB, free: 4.875 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00037/0.4328, allocations: 319.1 kB / 1.338 GB, free: 4.566 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4328, allocations: 3.938 kB / 1.338 GB, free: 4.562 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004245/0.4332, allocations: 71.92 kB / 1.338 GB, free: 4.492 MB / 1.029 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.0002012/0.4334, allocations: 127.9 kB / 1.338 GB, free: 4.355 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001426/0.4348, allocations: 0.5047 MB / 1.339 GB, free: 3.816 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4348, allocations: 0 / 1.339 GB, free: 3.816 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007814/0.4356, allocations: 111.9 kB / 1.339 GB, free: 3.707 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.436, allocations: 35.59 kB / 1.339 GB, free: 3.676 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.4376, allocations: 0.6049 MB / 1.34 GB, free: 3.043 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.4379, allocations: 186.7 kB / 1.34 GB, free: 2.84 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.9e-05/0.4379, allocations: 9.438 kB / 1.34 GB, free: 2.832 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.053e-05/0.438, allocations: 23.42 kB / 1.34 GB, free: 2.809 MB / 1.029 GB Notification: Performance of SimCode: time 8.32e-07/0.438, allocations: 0 / 1.34 GB, free: 2.809 MB / 1.029 GB Notification: Performance of Templates: time 0.01178/0.4498, allocations: 6.585 MB / 1.346 GB, free: 12.18 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.01875844411552]