Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 113 kB / 17.6 MB, free: 4.684 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.001784/0.001784, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.447/1.447, allocations: 225.6 MB / 249.4 MB, free: 3.145 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.554/2.554, allocations: 443.5 MB / 0.7304 GB, free: 13.88 MB / 0.5762 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.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 67.89 kB / 1.059 GB, free: 404 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3503, allocations: 160.7 MB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003232/0.3536, allocations: 1.541 MB / 1.218 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.355, allocations: 0.5511 MB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.636e-05/0.355, allocations: 0 / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.3551, allocations: 7.875 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.3553, allocations: 31.62 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008433/0.3561, allocations: 310.1 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006161/0.3567, allocations: 491.4 kB / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.582e-05/0.3568, allocations: 4 kB / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004097/0.3572, allocations: 275.6 kB / 1.219 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003038/0.3575, allocations: 151.6 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.044e-05/0.3576, allocations: 28 kB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.889e-05/0.3576, allocations: 24 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.3578, allocations: 119.6 kB / 1.22 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.3579, allocations: 179.1 kB / 1.22 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004659/0.3584, allocations: 422.4 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3584, allocations: 4 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3584, allocations: 0 / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.3584, allocations: 4 kB / 1.22 GB, free: 11.25 MB / 0.9669 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.001516/0.3599, allocations: 0.8858 MB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.36, allocations: 11.97 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.3601, allocations: 52.7 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.3605, allocations: 314.5 kB / 1.221 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.489e-05/0.3606, allocations: 20.36 kB / 1.221 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.562e-05/0.3606, allocations: 20.38 kB / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009308/0.3616, allocations: 214 kB / 1.222 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3616, allocations: 192 / 1.222 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.284e-05/0.3616, allocations: 11.94 kB / 1.222 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3616, allocations: 0 / 1.222 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007085/0.3623, allocations: 99.86 kB / 1.222 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005245/0.3628, allocations: 397.3 kB / 1.222 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009696/0.3638, allocations: 162.5 kB / 1.222 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007997/0.3646, allocations: 100.8 kB / 1.222 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.3646, allocations: 4 kB / 1.222 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009659/0.3656, allocations: 225.6 kB / 1.223 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.794e-06/0.3656, allocations: 4 kB / 1.223 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002457/0.3681, allocations: 492.9 kB / 1.223 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.3681, allocations: 63.38 kB / 1.223 GB, free: 8 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005294/0.3687, allocations: 409.9 kB / 1.223 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.663e-05/0.3687, allocations: 41.69 kB / 1.223 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.3688, allocations: 93.45 kB / 1.224 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.085e-05/0.3689, allocations: 43.62 kB / 1.224 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.3691, allocations: 125.5 kB / 1.224 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000269/0.3694, allocations: 326.8 kB / 1.224 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.3696, allocations: 119.9 kB / 1.224 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.3699, allocations: 173.7 kB / 1.224 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.3704, allocations: 271.4 kB / 1.225 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3704, allocations: 0 / 1.225 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001053/0.3714, allocations: 0.4909 MB / 1.225 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.3715, allocations: 91.31 kB / 1.225 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.3715, allocations: 192 / 1.225 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.3716, allocations: 8 kB / 1.225 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.3717, allocations: 19.98 kB / 1.225 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3718, allocations: 3.938 kB / 1.225 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/0.3722, allocations: 67.78 kB / 1.225 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.3723, allocations: 63.97 kB / 1.225 GB, free: 5.574 MB / 0.9669 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.0003279/0.3727, allocations: 188 kB / 1.225 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.398e-05/0.3727, allocations: 43.7 kB / 1.226 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.37e-05/0.3728, allocations: 43.73 kB / 1.226 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.3728, allocations: 3.984 kB / 1.226 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3728, allocations: 3.938 kB / 1.226 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3728, allocations: 3.938 kB / 1.226 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002447/0.3753, allocations: 0.7459 MB / 1.226 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3753, allocations: 0 / 1.226 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.349e-05/0.3753, allocations: 7.984 kB / 1.226 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3753, allocations: 3.938 kB / 1.226 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.082e-05/0.3754, allocations: 15.98 kB / 1.226 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3754, allocations: 0 / 1.226 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3754, allocations: 4 kB / 1.226 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.3772, allocations: 475.4 kB / 1.227 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003081/0.3775, allocations: 204.7 kB / 1.227 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.193e-05/0.3775, allocations: 11.98 kB / 1.227 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000435/0.378, allocations: 31.97 kB / 1.227 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.378, allocations: 11.98 kB / 1.227 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.67e-05/0.3781, allocations: 55.98 kB / 1.227 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003283/0.3784, allocations: 291.1 kB / 1.227 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3784, allocations: 3.938 kB / 1.227 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004086/0.3788, allocations: 71.98 kB / 1.227 GB, free: 3.285 MB / 0.9669 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.0001825/0.379, allocations: 119.2 kB / 1.228 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001294/0.3803, allocations: 404.2 kB / 1.228 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3803, allocations: 0 / 1.228 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007267/0.381, allocations: 116.2 kB / 1.228 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.3814, allocations: 29.48 kB / 1.228 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.383, allocations: 0.556 MB / 1.229 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.3835, allocations: 0.7669 MB / 1.229 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.778e-05/0.3835, allocations: 17.08 kB / 1.229 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.62e-05/0.3836, allocations: 19.44 kB / 1.229 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of SimCode: time 8.52e-07/0.3836, allocations: 0 / 1.229 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of Templates: time 0.01042/0.394, allocations: 5 MB / 1.234 GB, free: 12.09 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.942916234023869]