Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.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.001428/0.001428, allocations: 97.11 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.002254/0.002254, allocations: 205.4 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.613/1.613, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.341/3.341, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.Utilities.Time.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_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.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_12_Buildings.Utilities.Time.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.002026/0.002026, allocations: 70.48 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.4179, allocations: 176.1 MB / 1.327 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003436/0.4214, allocations: 1.532 MB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001502/0.4229, allocations: 0.5344 MB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.423, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.4231, allocations: 7.875 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.4232, allocations: 27.86 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.4243, allocations: 309.7 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007207/0.425, allocations: 491.4 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.505e-05/0.4251, allocations: 11.98 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000561/0.4256, allocations: 279.7 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003894/0.426, allocations: 148.8 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.4261, allocations: 28 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.4263, allocations: 28 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.4264, allocations: 115.6 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002234/0.4266, allocations: 159.3 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005486/0.4272, allocations: 434.3 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.4272, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.258e-06/0.4272, allocations: 3.984 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.937e-05/0.4272, allocations: 0 / 1.331 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001603/0.4288, allocations: 0.7911 MB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.4289, allocations: 8.031 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.429, allocations: 56.7 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004942/0.4295, allocations: 256.8 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.553e-05/0.4296, allocations: 16.36 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.4297, allocations: 32.36 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.4308, allocations: 213.9 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.4309, allocations: 192 / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.4309, allocations: 3.938 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.4309, allocations: 7.938 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008391/0.4317, allocations: 95.91 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.4322, allocations: 285 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.4333, allocations: 170.5 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000777/0.4341, allocations: 96.78 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.4341, allocations: 4 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/0.4352, allocations: 223.1 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.876e-06/0.4352, allocations: 0 / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002837/0.438, allocations: 493 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.438, allocations: 63.41 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005151/0.4386, allocations: 409.9 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.524e-05/0.4386, allocations: 37.7 kB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.4387, allocations: 97.44 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.819e-05/0.4388, allocations: 47.67 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.439, allocations: 125.5 kB / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.4392, allocations: 326.8 kB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003492/0.4395, allocations: 191.3 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.4399, allocations: 252.5 kB / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004324/0.4404, allocations: 263.7 kB / 1.335 GB, free: 8.203 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.902e-06/0.4404, allocations: 4 kB / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001113/0.4415, allocations: 0.5615 MB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.244e-05/0.4416, allocations: 79.38 kB / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.4416, allocations: 0 / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.4416, allocations: 7.938 kB / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.4418, allocations: 23.86 kB / 1.336 GB, free: 7.488 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.4418, allocations: 4 kB / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005519/0.4424, allocations: 64.03 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.4425, allocations: 63.97 kB / 1.336 GB, free: 7.359 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0003009/0.4428, allocations: 188.2 kB / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.58e-05/0.4429, allocations: 43.72 kB / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.635e-05/0.4429, allocations: 43.67 kB / 1.336 GB, free: 7.082 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.443, allocations: 3.938 kB / 1.336 GB, free: 7.078 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.443, allocations: 0 / 1.336 GB, free: 7.078 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000334/0.4433, allocations: 125.9 kB / 1.337 GB, free: 6.953 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.349e-05/0.4434, allocations: 12 kB / 1.337 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004944/0.4439, allocations: 34.97 kB / 1.337 GB, free: 6.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.4439, allocations: 7.984 kB / 1.337 GB, free: 6.902 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001845/0.4458, allocations: 432.7 kB / 1.337 GB, free: 6.473 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00194/0.4477, allocations: 0.5554 MB / 1.338 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008187/0.4485, allocations: 107.9 kB / 1.338 GB, free: 5.797 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003586/0.4489, allocations: 295.1 kB / 1.338 GB, free: 5.512 MB / 1.029 GB Notification: Performance of Backend: time 5.41e-07/0.4489, allocations: 0 / 1.338 GB, free: 5.512 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.4499, allocations: 450.5 kB / 1.338 GB, free: 5.027 MB / 1.029 GB Notification: Performance of SimCode: time 0.001194/0.4511, allocations: 0.9381 MB / 1.339 GB, free: 4.043 MB / 1.029 GB Notification: Performance of Templates: time 0.01123/0.4624, allocations: 6.456 MB / 1.346 GB, free: 13.52 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.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.666698435001308]