Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 107.3 kB / 16.36 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 193.1 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.644/2.644, allocations: 437.1 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 70.22 kB / 0.8707 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.308, allocations: 151.6 MB / 1.019 GB, free: 9.801 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003747/0.3118, allocations: 1.733 MB / 1.02 GB, free: 8.051 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.3132, allocations: 0.6261 MB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.102e-05/0.3133, allocations: 0 / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.3135, allocations: 15.8 kB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.3136, allocations: 35.78 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008906/0.3145, allocations: 365.4 kB / 1.022 GB, free: 7.02 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0006503/0.3151, allocations: 0.6359 MB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.3153, allocations: 41.08 kB / 1.022 GB, free: 6.34 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003913/0.3157, allocations: 307.6 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.316, allocations: 159.3 kB / 1.023 GB, free: 5.883 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.494e-05/0.3161, allocations: 44 kB / 1.023 GB, free: 5.84 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-05/0.3161, allocations: 40 kB / 1.023 GB, free: 5.801 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.3163, allocations: 123.6 kB / 1.023 GB, free: 5.68 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.3165, allocations: 215 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005477/0.317, allocations: 0.5997 MB / 1.024 GB, free: 4.867 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3171, allocations: 0 / 1.024 GB, free: 4.867 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3171, allocations: 4 kB / 1.024 GB, free: 4.863 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.3171, allocations: 4 kB / 1.024 GB, free: 4.859 MB / 0.795 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.001309/0.3184, allocations: 0.9092 MB / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.3184, allocations: 12.88 kB / 1.025 GB, free: 3.848 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.3186, allocations: 52.47 kB / 1.025 GB, free: 3.797 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.319, allocations: 330.2 kB / 1.025 GB, free: 3.434 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.874e-05/0.3191, allocations: 20.36 kB / 1.025 GB, free: 3.414 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-05/0.3191, allocations: 28.38 kB / 1.025 GB, free: 3.387 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009315/0.3201, allocations: 247.6 kB / 1.025 GB, free: 3.141 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.3201, allocations: 192 / 1.025 GB, free: 3.141 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.3201, allocations: 3.938 kB / 1.025 GB, free: 3.137 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.3201, allocations: 4 kB / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007231/0.3209, allocations: 111.9 kB / 1.025 GB, free: 3.023 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.3222, allocations: 0.6797 MB / 1.026 GB, free: 2.293 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009605/0.3232, allocations: 186 kB / 1.026 GB, free: 2.105 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006857/0.3239, allocations: 112.8 kB / 1.026 GB, free: 1.992 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.3239, allocations: 0 / 1.026 GB, free: 1.992 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008654/0.3248, allocations: 233.1 kB / 1.026 GB, free: 1.754 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.3248, allocations: 0 / 1.026 GB, free: 1.754 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.002393/0.3272, allocations: 0.493 MB / 1.027 GB, free: 1.254 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.3272, allocations: 55.41 kB / 1.027 GB, free: 1.188 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004639/0.3277, allocations: 445.8 kB / 1.027 GB, free: 0.75 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.712e-05/0.3278, allocations: 45.69 kB / 1.027 GB, free: 0.6992 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.027e-05/0.3279, allocations: 105.3 kB / 1.028 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.3279, allocations: 39.53 kB / 1.028 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.3281, allocations: 137.3 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3282, allocations: 330.8 kB / 1.028 GB, free: 80 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.3285, allocations: 143.9 kB / 1.028 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.3288, allocations: 180 kB / 1.028 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.3292, allocations: 310.6 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3292, allocations: 3.938 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008593/0.3301, allocations: 0.5144 MB / 1.029 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-05/0.3302, allocations: 99.38 kB / 1.029 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.3302, allocations: 0 / 1.029 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3303, allocations: 7.938 kB / 1.029 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.3304, allocations: 23.97 kB / 1.029 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3304, allocations: 0 / 1.029 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/0.3309, allocations: 67.89 kB / 1.029 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-05/0.331, allocations: 63.92 kB / 1.029 GB, free: 14.6 MB / 0.8106 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.0002345/0.3312, allocations: 212.3 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.684e-05/0.3313, allocations: 43.52 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.564e-05/0.3314, allocations: 39.8 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3314, allocations: 0 / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3314, allocations: 4 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3314, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.3335, allocations: 0.7933 MB / 1.03 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3335, allocations: 0 / 1.03 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/0.3335, allocations: 7.984 kB / 1.03 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3335, allocations: 0 / 1.03 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-05/0.3336, allocations: 23.98 kB / 1.03 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.3336, allocations: 7.875 kB / 1.03 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3336, allocations: 0 / 1.03 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.3352, allocations: 479.2 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003138/0.3355, allocations: 244.5 kB / 1.031 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.498e-05/0.3356, allocations: 16 kB / 1.031 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004446/0.3361, allocations: 31.91 kB / 1.031 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.3361, allocations: 11.98 kB / 1.031 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.53e-05/0.3362, allocations: 55.97 kB / 1.031 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003049/0.3365, allocations: 319.1 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3365, allocations: 4 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003486/0.3369, allocations: 71.92 kB / 1.032 GB, free: 12.16 MB / 0.8106 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.0001693/0.337, allocations: 135.4 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001255/0.3383, allocations: 473.3 kB / 1.032 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3383, allocations: 4.062 kB / 1.032 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007086/0.339, allocations: 123.8 kB / 1.032 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.3394, allocations: 39.03 kB / 1.032 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.3409, allocations: 0.5972 MB / 1.033 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.3413, allocations: 0.7864 MB / 1.034 GB, free: 9.941 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.719e-05/0.3413, allocations: 17.42 kB / 1.034 GB, free: 9.926 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.3414, allocations: 15.44 kB / 1.034 GB, free: 9.91 MB / 0.8106 GB Notification: Performance of SimCode: time 4.51e-07/0.3414, allocations: 4 kB / 1.034 GB, free: 9.906 MB / 0.8106 GB Notification: Performance of Templates: time 0.008712/0.3501, allocations: 5.409 MB / 1.039 GB, free: 4.402 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches