Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Utilities.Time.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_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.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_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007524/0.007524, allocations: 100.6 kB / 15.73 MB, free: 6.035 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.001799/0.001799, allocations: 191.3 kB / 16.67 MB, free: 5.973 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.52/1.52, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.602/2.602, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 62.56 kB / 0.9508 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3332, allocations: 140.4 MB / 1.088 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002965/0.3362, allocations: 1.518 MB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.3376, allocations: 0.5321 MB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.824e-05/0.3377, allocations: 4 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.3379, allocations: 11.86 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.3381, allocations: 35.84 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009926/0.3391, allocations: 312.6 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006672/0.3397, allocations: 0.4953 MB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.273e-05/0.3398, allocations: 15.97 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004729/0.3403, allocations: 275.6 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003422/0.3406, allocations: 139.6 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.3408, allocations: 32 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.017e-05/0.3408, allocations: 24 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.341, allocations: 115.7 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002084/0.3412, allocations: 183 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004807/0.3417, allocations: 430.6 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3417, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3417, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.3417, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 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.001424/0.3432, allocations: 0.8665 MB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3432, allocations: 12.03 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.3434, allocations: 48.5 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004442/0.3438, allocations: 306.2 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.931e-05/0.3439, allocations: 16.38 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-05/0.344, allocations: 28.36 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009697/0.3449, allocations: 217.9 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.345, allocations: 4.188 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.345, allocations: 7.938 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.345, allocations: 0 / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007482/0.3458, allocations: 99.91 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.3462, allocations: 385.3 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.3472, allocations: 182.4 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007425/0.348, allocations: 112.8 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.348, allocations: 0 / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009422/0.349, allocations: 235 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/0.349, allocations: 0 / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002515/0.3515, allocations: 483.1 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.3516, allocations: 67.33 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000473/0.3521, allocations: 405.9 kB / 1.095 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.816e-05/0.3522, allocations: 45.69 kB / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.7e-05/0.3522, allocations: 93.45 kB / 1.095 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.319e-05/0.3523, allocations: 35.59 kB / 1.095 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/0.3525, allocations: 129.3 kB / 1.096 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3527, allocations: 318.8 kB / 1.096 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/0.353, allocations: 123.9 kB / 1.096 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/0.3533, allocations: 174.9 kB / 1.096 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/0.3537, allocations: 271.1 kB / 1.096 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.3537, allocations: 7.938 kB / 1.096 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008323/0.3545, allocations: 496.4 kB / 1.097 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.408e-05/0.3546, allocations: 91.31 kB / 1.097 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.3546, allocations: 7.984 kB / 1.097 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.3546, allocations: 0 / 1.097 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.3548, allocations: 23.92 kB / 1.097 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.3548, allocations: 8 kB / 1.097 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/0.3553, allocations: 59.98 kB / 1.097 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.055e-05/0.3554, allocations: 59.98 kB / 1.097 GB, free: 7.777 MB / 0.8575 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.0002456/0.3557, allocations: 196 kB / 1.097 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.404e-05/0.3558, allocations: 39.47 kB / 1.097 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.868e-05/0.3558, allocations: 39.75 kB / 1.097 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3558, allocations: 8 kB / 1.097 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3559, allocations: 0 / 1.097 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.3559, allocations: 3.984 kB / 1.097 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.3581, allocations: 0.7443 MB / 1.098 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3581, allocations: 4 kB / 1.098 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.827e-05/0.3582, allocations: 4 kB / 1.098 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3582, allocations: 0 / 1.098 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-05/0.3582, allocations: 19.97 kB / 1.098 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3583, allocations: 0 / 1.098 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3583, allocations: 0 / 1.098 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.3601, allocations: 479.2 kB / 1.099 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/0.3604, allocations: 196.5 kB / 1.099 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.179e-05/0.3605, allocations: 12 kB / 1.099 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000483/0.3609, allocations: 39.94 kB / 1.099 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.361, allocations: 11.98 kB / 1.099 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.505e-05/0.3611, allocations: 55.92 kB / 1.099 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002785/0.3614, allocations: 299 kB / 1.099 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3614, allocations: 0 / 1.099 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003733/0.3617, allocations: 67.98 kB / 1.099 GB, free: 5.477 MB / 0.8575 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.0001681/0.3619, allocations: 117 kB / 1.099 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001306/0.3632, allocations: 445.4 kB / 1.1 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3632, allocations: 0 / 1.1 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007951/0.364, allocations: 115.9 kB / 1.1 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.3644, allocations: 32.11 kB / 1.1 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.3659, allocations: 0.5444 MB / 1.1 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.3663, allocations: 0.7708 MB / 1.101 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.218e-05/0.3664, allocations: 13.08 kB / 1.101 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.3664, allocations: 19.38 kB / 1.101 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.3664, allocations: 4 kB / 1.101 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of Templates: time 0.009445/0.3759, allocations: 4.93 MB / 1.106 GB, free: 14.32 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches