Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 111.6 kB / 15.99 MB, free: 6.348 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.00137/0.00137, allocations: 191 kB / 16.91 MB, free: 6.184 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.421/1.421, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.546/2.546, allocations: 469.4 MB / 0.7423 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 65.12 kB / 0.9083 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3329, allocations: 159.1 MB / 1.064 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003268/0.3362, allocations: 1.573 MB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.3376, allocations: 0.5365 MB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.665e-05/0.3378, allocations: 7.938 kB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.3379, allocations: 11.92 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.338, allocations: 15.92 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000854/0.3389, allocations: 291.2 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005948/0.3395, allocations: 0.5072 MB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.733e-05/0.3396, allocations: 4 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005128/0.3401, allocations: 343 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002988/0.3404, allocations: 163.2 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.239e-05/0.3405, allocations: 28 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.121e-05/0.3406, allocations: 28 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.3407, allocations: 119.7 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.3409, allocations: 202.8 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.3413, allocations: 319.6 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3413, allocations: 0 / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3413, allocations: 0 / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.3413, allocations: 0 / 1.068 GB, free: 11.24 MB / 0.8419 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.001419/0.3427, allocations: 0.8682 MB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.3428, allocations: 8.625 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.3429, allocations: 52.47 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.3433, allocations: 314.2 kB / 1.069 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.662e-05/0.3434, allocations: 20.36 kB / 1.069 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.893e-05/0.3434, allocations: 24.38 kB / 1.069 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.3445, allocations: 210 kB / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3445, allocations: 4.188 kB / 1.069 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.3445, allocations: 3.938 kB / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3445, allocations: 4 kB / 1.069 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008049/0.3453, allocations: 107.9 kB / 1.069 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/0.3458, allocations: 385.2 kB / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.3469, allocations: 182.5 kB / 1.07 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007534/0.3477, allocations: 104.8 kB / 1.07 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.3477, allocations: 7.938 kB / 1.07 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009712/0.3487, allocations: 223.1 kB / 1.07 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 3.847e-06/0.3487, allocations: 0 / 1.07 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.002653/0.3514, allocations: 492.7 kB / 1.071 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.3514, allocations: 63.38 kB / 1.071 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004682/0.3519, allocations: 409.9 kB / 1.071 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.693e-05/0.352, allocations: 41.69 kB / 1.071 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.663e-05/0.3521, allocations: 93.44 kB / 1.071 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.627e-05/0.3522, allocations: 43.47 kB / 1.071 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.3524, allocations: 129.3 kB / 1.071 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3525, allocations: 322.8 kB / 1.072 GB, free: 6.938 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/0.3528, allocations: 119.9 kB / 1.072 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.3531, allocations: 169.9 kB / 1.072 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/0.3535, allocations: 279.1 kB / 1.072 GB, free: 6.328 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3536, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008777/0.3544, allocations: 496.6 kB / 1.073 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-05/0.3546, allocations: 91.31 kB / 1.073 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.3546, allocations: 0 / 1.073 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.3546, allocations: 7.938 kB / 1.073 GB, free: 5.715 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.3548, allocations: 23.97 kB / 1.073 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.3548, allocations: 0 / 1.073 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005142/0.3553, allocations: 67.92 kB / 1.073 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.521e-05/0.3554, allocations: 63.92 kB / 1.073 GB, free: 5.562 MB / 0.8419 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.000232/0.3556, allocations: 192 kB / 1.073 GB, free: 5.367 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.077e-05/0.3557, allocations: 39.47 kB / 1.073 GB, free: 5.328 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.337e-05/0.3558, allocations: 43.73 kB / 1.073 GB, free: 5.285 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3558, allocations: 0 / 1.073 GB, free: 5.285 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.3558, allocations: 4 kB / 1.073 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3558, allocations: 4 kB / 1.073 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.358, allocations: 0.7431 MB / 1.074 GB, free: 4.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3581, allocations: 0 / 1.074 GB, free: 4.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.901e-05/0.3581, allocations: 8 kB / 1.074 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.3581, allocations: 4 kB / 1.074 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/0.3582, allocations: 19.97 kB / 1.074 GB, free: 4.449 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.3582, allocations: 7.938 kB / 1.074 GB, free: 4.441 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3582, allocations: 0 / 1.074 GB, free: 4.441 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/0.3602, allocations: 474.7 kB / 1.074 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/0.3605, allocations: 200.5 kB / 1.075 GB, free: 3.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.988e-05/0.3606, allocations: 8 kB / 1.075 GB, free: 3.738 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005159/0.3611, allocations: 35.95 kB / 1.075 GB, free: 3.703 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.3612, allocations: 8 kB / 1.075 GB, free: 3.695 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.946e-05/0.3612, allocations: 67.91 kB / 1.075 GB, free: 3.629 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003011/0.3615, allocations: 295.1 kB / 1.075 GB, free: 3.344 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3615, allocations: 0 / 1.075 GB, free: 3.344 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003875/0.3619, allocations: 63.98 kB / 1.075 GB, free: 3.281 MB / 0.8419 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0001775/0.3621, allocations: 124 kB / 1.075 GB, free: 3.148 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001387/0.3635, allocations: 449.6 kB / 1.076 GB, free: 2.688 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3635, allocations: 3.938 kB / 1.076 GB, free: 2.684 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007999/0.3643, allocations: 123.9 kB / 1.076 GB, free: 2.562 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.3648, allocations: 28.36 kB / 1.076 GB, free: 2.539 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.3664, allocations: 0.7058 MB / 1.076 GB, free: 1.805 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.3668, allocations: 0.7747 MB / 1.077 GB, free: 1.004 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/0.3669, allocations: 19.42 kB / 1.077 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of SimCode: time 3.5e-07/0.3669, allocations: 0 / 1.077 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of Templates: time 0.4589/0.8258, allocations: 3.667 MB / 1.081 GB, free: 21.97 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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