Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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.001709/0.001709, allocations: 115.4 kB / 17.08 MB, free: 5.98 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.002264/0.002264, allocations: 194.2 kB / 20.03 MB, free: 3.051 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.44/1.44, allocations: 222.9 MB / 245.7 MB, free: 4.223 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.661/2.661, allocations: 437.1 MB / 0.7177 GB, free: 4.512 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.CalendarTimeMonthsMinus,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.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_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 67.89 kB / 1.028 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3132, allocations: 151.6 MB / 1.176 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002878/0.3161, allocations: 1.744 MB / 1.178 GB, free: 4.098 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.3175, allocations: 0.6323 MB / 1.178 GB, free: 3.469 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.071e-05/0.3176, allocations: 0 / 1.178 GB, free: 3.469 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.3177, allocations: 19.8 kB / 1.178 GB, free: 3.449 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.3178, allocations: 31.62 kB / 1.178 GB, free: 3.418 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008339/0.3187, allocations: 363.3 kB / 1.179 GB, free: 3.062 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006819/0.3194, allocations: 0.6321 MB / 1.179 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.3195, allocations: 37.03 kB / 1.179 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003947/0.3199, allocations: 311.5 kB / 1.18 GB, free: 2.086 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.3202, allocations: 155.5 kB / 1.18 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.3203, allocations: 40 kB / 1.18 GB, free: 1.895 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.3204, allocations: 40 kB / 1.18 GB, free: 1.855 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.3206, allocations: 123.7 kB / 1.18 GB, free: 1.734 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002185/0.3208, allocations: 219 kB / 1.18 GB, free: 1.52 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006092/0.3214, allocations: 0.5956 MB / 1.181 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3214, allocations: 0 / 1.181 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3214, allocations: 4 kB / 1.181 GB, free: 0.918 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.3214, allocations: 0 / 1.181 GB, free: 0.918 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.001366/0.3228, allocations: 0.9171 MB / 1.182 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.3228, allocations: 15.92 kB / 1.182 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.323, allocations: 56.66 kB / 1.182 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.3234, allocations: 338.5 kB / 1.182 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.68e-05/0.3234, allocations: 24.36 kB / 1.182 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.297e-05/0.3235, allocations: 28.36 kB / 1.182 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009888/0.3245, allocations: 240.7 kB / 1.182 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3245, allocations: 192 / 1.182 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.665e-05/0.3246, allocations: 15.88 kB / 1.182 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.3246, allocations: 0 / 1.182 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007784/0.3254, allocations: 119.8 kB / 1.182 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.3267, allocations: 0.6643 MB / 1.183 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.3277, allocations: 190.4 kB / 1.183 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007409/0.3285, allocations: 112.8 kB / 1.183 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.3285, allocations: 4 kB / 1.183 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009598/0.3295, allocations: 231.2 kB / 1.184 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.023e-06/0.3295, allocations: 0 / 1.184 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002605/0.3321, allocations: 498.6 kB / 1.184 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.3322, allocations: 59.41 kB / 1.184 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005105/0.3327, allocations: 449.8 kB / 1.185 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.835e-05/0.3328, allocations: 37.7 kB / 1.185 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.943e-05/0.3328, allocations: 105.3 kB / 1.185 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.551e-05/0.3329, allocations: 43.69 kB / 1.185 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.3331, allocations: 137.5 kB / 1.185 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.3333, allocations: 326.8 kB / 1.185 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.3336, allocations: 139.9 kB / 1.185 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/0.3339, allocations: 190.9 kB / 1.185 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004174/0.3344, allocations: 293.2 kB / 1.186 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/0.3344, allocations: 4 kB / 1.186 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008899/0.3353, allocations: 0.5221 MB / 1.186 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.3354, allocations: 95.36 kB / 1.186 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.3354, allocations: 8 kB / 1.186 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.3354, allocations: 4 kB / 1.186 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.3356, allocations: 23.92 kB / 1.186 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.3356, allocations: 4 kB / 1.186 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004641/0.3361, allocations: 59.8 kB / 1.186 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.635e-05/0.3362, allocations: 68.06 kB / 1.186 GB, free: 10.63 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.0002492/0.3365, allocations: 224.2 kB / 1.187 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/0.3365, allocations: 35.77 kB / 1.187 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.858e-05/0.3366, allocations: 43.78 kB / 1.187 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3366, allocations: 4 kB / 1.187 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3366, allocations: 0 / 1.187 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3366, allocations: 0 / 1.187 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00223/0.3389, allocations: 0.7912 MB / 1.188 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.3389, allocations: 0 / 1.188 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.3389, allocations: 4 kB / 1.188 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3389, allocations: 0 / 1.188 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.034e-05/0.339, allocations: 19.97 kB / 1.188 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.339, allocations: 11.94 kB / 1.188 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.339, allocations: 0 / 1.188 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.3407, allocations: 493.5 kB / 1.188 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/0.341, allocations: 236.7 kB / 1.188 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-05/0.3411, allocations: 19.92 kB / 1.188 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004543/0.3416, allocations: 35.91 kB / 1.188 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.3416, allocations: 7.984 kB / 1.188 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.489e-05/0.3417, allocations: 59.98 kB / 1.188 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003481/0.342, allocations: 315.1 kB / 1.189 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.342, allocations: 4 kB / 1.189 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003679/0.3424, allocations: 79.94 kB / 1.189 GB, free: 8.188 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.0001968/0.3426, allocations: 123.5 kB / 1.189 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001348/0.344, allocations: 478.4 kB / 1.189 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/0.344, allocations: 8.375 kB / 1.189 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007793/0.3448, allocations: 124.8 kB / 1.189 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.3452, allocations: 37.47 kB / 1.19 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.3468, allocations: 0.6424 MB / 1.19 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.3473, allocations: 0.7903 MB / 1.191 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.3473, allocations: 19.44 kB / 1.191 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of SimCode: time 5.31e-07/0.3473, allocations: 0 / 1.191 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of Templates: time 0.006719/0.3541, allocations: 4.086 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.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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.572247884934768]