Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.001772/0.001773, allocations: 112.8 kB / 17.08 MB, free: 6 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.00228/0.00228, allocations: 193.2 kB / 20.03 MB, free: 3.07 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.424/1.424, allocations: 222.9 MB / 245.7 MB, free: 4.234 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.67/2.67, allocations: 437.1 MB / 0.7177 GB, free: 4.535 MB / 0.5606 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.CalendarTimeMonthsPlus,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.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_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 75.88 kB / 1.028 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3054, allocations: 151.6 MB / 1.176 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002983/0.3084, allocations: 1.734 MB / 1.178 GB, free: 4.109 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.3098, allocations: 0.6307 MB / 1.178 GB, free: 3.48 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.429e-05/0.3099, allocations: 4 kB / 1.178 GB, free: 3.477 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.903e-05/0.31, allocations: 7.875 kB / 1.178 GB, free: 3.469 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.3102, allocations: 35.56 kB / 1.178 GB, free: 3.434 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008868/0.3111, allocations: 374.8 kB / 1.179 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007246/0.3118, allocations: 0.6398 MB / 1.179 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.3119, allocations: 29.05 kB / 1.179 GB, free: 2.398 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004148/0.3124, allocations: 307.6 kB / 1.18 GB, free: 2.098 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.3127, allocations: 159.5 kB / 1.18 GB, free: 1.941 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.3128, allocations: 40 kB / 1.18 GB, free: 1.902 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.3129, allocations: 44 kB / 1.18 GB, free: 1.859 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.3131, allocations: 127.7 kB / 1.18 GB, free: 1.734 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002397/0.3133, allocations: 215 kB / 1.18 GB, free: 1.523 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007026/0.314, allocations: 0.5918 MB / 1.181 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3141, allocations: 0 / 1.181 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.948e-06/0.3141, allocations: 0 / 1.181 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.3141, allocations: 3.938 kB / 1.181 GB, free: 0.9258 MB / 0.92 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.001402/0.3155, allocations: 0.9171 MB / 1.182 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3155, allocations: 15.98 kB / 1.182 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.3157, allocations: 60.66 kB / 1.182 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004428/0.3161, allocations: 334.5 kB / 1.182 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.046e-05/0.3162, allocations: 24.36 kB / 1.182 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.721e-05/0.3163, allocations: 28.36 kB / 1.182 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.3173, allocations: 241.9 kB / 1.182 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3173, allocations: 192 / 1.182 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/0.3174, allocations: 7.938 kB / 1.182 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3174, allocations: 4 kB / 1.182 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007869/0.3182, allocations: 119.8 kB / 1.182 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.3195, allocations: 0.6643 MB / 1.183 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.3206, allocations: 186.5 kB / 1.183 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007447/0.3213, allocations: 116.7 kB / 1.183 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.3214, allocations: 8 kB / 1.183 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009843/0.3224, allocations: 225.6 kB / 1.184 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.3224, allocations: 0 / 1.184 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002588/0.325, allocations: 493.3 kB / 1.184 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.3251, allocations: 63.41 kB / 1.184 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005038/0.3256, allocations: 449.8 kB / 1.185 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.065e-05/0.3256, allocations: 41.7 kB / 1.185 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.685e-05/0.3257, allocations: 105.4 kB / 1.185 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.3258, allocations: 47.62 kB / 1.185 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/0.326, allocations: 137.5 kB / 1.185 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3262, allocations: 322.8 kB / 1.185 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.3265, allocations: 139.9 kB / 1.185 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.3269, allocations: 194.9 kB / 1.185 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004505/0.3273, allocations: 303.8 kB / 1.186 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3273, allocations: 0 / 1.186 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009141/0.3283, allocations: 0.5124 MB / 1.186 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.3284, allocations: 99.36 kB / 1.186 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.3284, allocations: 0 / 1.186 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.3284, allocations: 4 kB / 1.186 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.3286, allocations: 23.92 kB / 1.186 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.3286, allocations: 4 kB / 1.186 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/0.3291, allocations: 67.98 kB / 1.186 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.463e-05/0.3292, allocations: 55.98 kB / 1.186 GB, free: 10.65 MB / 0.9356 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.0002811/0.3295, allocations: 228.2 kB / 1.187 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.3295, allocations: 35.77 kB / 1.187 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.454e-05/0.3296, allocations: 47.8 kB / 1.187 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3296, allocations: 3.938 kB / 1.187 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.3296, allocations: 3.984 kB / 1.187 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3297, allocations: 0 / 1.187 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/0.3319, allocations: 0.7923 MB / 1.188 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3319, allocations: 0 / 1.188 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.393e-05/0.332, allocations: 4 kB / 1.188 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.332, allocations: 4 kB / 1.188 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-05/0.332, allocations: 19.97 kB / 1.188 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.332, allocations: 3.938 kB / 1.188 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.332, allocations: 0 / 1.188 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.3338, allocations: 493.8 kB / 1.188 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003002/0.3341, allocations: 236.7 kB / 1.188 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.851e-05/0.3342, allocations: 19.98 kB / 1.188 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004605/0.3346, allocations: 35.91 kB / 1.188 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.3347, allocations: 11.98 kB / 1.188 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-05/0.3348, allocations: 55.98 kB / 1.188 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003598/0.3351, allocations: 319.1 kB / 1.189 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3352, allocations: 0 / 1.189 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003933/0.3356, allocations: 71.95 kB / 1.189 GB, free: 8.203 MB / 0.9356 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.0002025/0.3358, allocations: 127.5 kB / 1.189 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001353/0.3371, allocations: 482.4 kB / 1.189 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3371, allocations: 0 / 1.189 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007662/0.3379, allocations: 123.8 kB / 1.189 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.3383, allocations: 51.25 kB / 1.19 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.34, allocations: 0.6424 MB / 1.19 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.3404, allocations: 0.7864 MB / 1.191 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/0.3405, allocations: 19.44 kB / 1.191 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of SimCode: time 6.82e-07/0.3405, allocations: 0 / 1.191 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of Templates: time 0.006844/0.3473, allocations: 4.095 MB / 1.195 GB, free: 1.754 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time [Calling sys.exit(0), Time elapsed: 10.455793783068657]