Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.001292/0.001292, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001633/0.001633, allocations: 210.5 kB / 23 MB, free: 4.934 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.44/3.44, allocations: 0.49 GB / 0.7959 GB, free: 35.42 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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") [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.002057/0.002057, allocations: 81.38 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4074, allocations: 176.1 MB / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003456/0.4109, allocations: 1.73 MB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.4125, allocations: 0.6064 MB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.082e-05/0.4126, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.4127, allocations: 15.8 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.4129, allocations: 39.72 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009681/0.4138, allocations: 371.4 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000691/0.4145, allocations: 0.5931 MB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.4146, allocations: 25.23 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004571/0.4151, allocations: 323.6 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003325/0.4154, allocations: 171.3 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.4155, allocations: 40 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.4157, allocations: 40 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.4158, allocations: 131.6 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.4161, allocations: 171.2 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006759/0.4167, allocations: 0.6073 MB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4167, allocations: 0 / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4167, allocations: 0 / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.4168, allocations: 4 kB / 1.332 GB, free: 12.04 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.001658/0.4184, allocations: 0.8339 MB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.4185, allocations: 8.031 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.4186, allocations: 60.64 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005323/0.4192, allocations: 284.6 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.268e-05/0.4192, allocations: 20.38 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.4193, allocations: 28.36 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.4205, allocations: 234 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.4205, allocations: 192 / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.087e-05/0.4205, allocations: 15.92 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.4205, allocations: 3.938 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008515/0.4214, allocations: 117.6 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.4228, allocations: 0.5352 MB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.424, allocations: 166.5 kB / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008016/0.4248, allocations: 108.8 kB / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.4248, allocations: 8 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001106/0.4259, allocations: 235 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.214e-06/0.4259, allocations: 0 / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002926/0.4288, allocations: 0.4918 MB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.452e-05/0.4289, allocations: 59.39 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006367/0.4295, allocations: 445.9 kB / 1.335 GB, free: 8.234 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.857e-05/0.4296, allocations: 37.7 kB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.4297, allocations: 109.4 kB / 1.336 GB, free: 8.082 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.805e-05/0.4298, allocations: 35.73 kB / 1.336 GB, free: 8.047 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002636/0.4301, allocations: 141.4 kB / 1.336 GB, free: 7.902 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002051/0.4303, allocations: 326.8 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004118/0.4307, allocations: 223.3 kB / 1.336 GB, free: 7.344 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004697/0.4312, allocations: 277.2 kB / 1.336 GB, free: 7.039 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004699/0.4316, allocations: 291 kB / 1.337 GB, free: 6.723 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.4316, allocations: 0 / 1.337 GB, free: 6.723 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001093/0.4327, allocations: 0.5976 MB / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.4328, allocations: 87.38 kB / 1.337 GB, free: 5.996 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.4329, allocations: 7.984 kB / 1.337 GB, free: 5.988 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/0.4329, allocations: 4 kB / 1.337 GB, free: 5.984 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.4331, allocations: 23.97 kB / 1.337 GB, free: 5.961 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.4331, allocations: 7.938 kB / 1.337 GB, free: 5.953 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005134/0.4336, allocations: 56.03 kB / 1.338 GB, free: 5.898 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.4337, allocations: 63.98 kB / 1.338 GB, free: 5.836 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.0003303/0.4341, allocations: 216.8 kB / 1.338 GB, free: 5.613 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.271e-05/0.4341, allocations: 43.7 kB / 1.338 GB, free: 5.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.21e-05/0.4342, allocations: 39.73 kB / 1.338 GB, free: 5.531 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4342, allocations: 4 kB / 1.338 GB, free: 5.527 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4342, allocations: 4 kB / 1.338 GB, free: 5.523 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004056/0.4346, allocations: 173.5 kB / 1.338 GB, free: 5.355 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.876e-05/0.4347, allocations: 19.98 kB / 1.338 GB, free: 5.336 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004806/0.4352, allocations: 31.91 kB / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/0.4353, allocations: 7.984 kB / 1.338 GB, free: 5.297 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001823/0.4371, allocations: 428.7 kB / 1.339 GB, free: 4.871 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002005/0.4391, allocations: 0.5472 MB / 1.339 GB, free: 4.309 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007842/0.4399, allocations: 111.9 kB / 1.339 GB, free: 4.199 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004001/0.4403, allocations: 319.1 kB / 1.339 GB, free: 3.891 MB / 1.029 GB Notification: Performance of Backend: time 7.82e-07/0.4403, allocations: 0 / 1.339 GB, free: 3.891 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001144/0.4414, allocations: 486.4 kB / 1.34 GB, free: 3.371 MB / 1.029 GB Notification: Performance of SimCode: time 0.001356/0.4428, allocations: 0.9903 MB / 1.341 GB, free: 2.336 MB / 1.029 GB Notification: Performance of Templates: time 0.01239/0.4552, allocations: 7.005 MB / 1.348 GB, free: 11.28 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.571374064005795]