Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.CalendarTimeMonthsPlus,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.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_9_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.001291/0.001291, allocations: 107.6 kB / 16.37 MB, free: 6.477 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.001366/0.001366, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.239/2.239, allocations: 390.3 MB / 0.6655 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 62.59 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2934, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002658/0.2961, allocations: 1.523 MB / 0.9526 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.2974, allocations: 0.5345 MB / 0.9531 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.2974, allocations: 0 / 0.9531 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.264e-05/0.2975, allocations: 7.875 kB / 0.9531 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.2976, allocations: 27.84 kB / 0.9532 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007294/0.2984, allocations: 315.3 kB / 0.9535 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005559/0.2989, allocations: 0.5071 MB / 0.954 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.743e-05/0.299, allocations: 4 kB / 0.954 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003162/0.2993, allocations: 271.6 kB / 0.9542 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.2996, allocations: 143.6 kB / 0.9544 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.841e-05/0.2997, allocations: 28 kB / 0.9544 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.57e-05/0.2997, allocations: 28 kB / 0.9544 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.2999, allocations: 119.7 kB / 0.9545 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.3001, allocations: 191 kB / 0.9547 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.3004, allocations: 418.7 kB / 0.9551 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3004, allocations: 0 / 0.9551 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3004, allocations: 0 / 0.9551 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.3004, allocations: 0 / 0.9551 GB, free: 3.965 MB / 0.7325 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.001109/0.3016, allocations: 0.8587 MB / 0.9559 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.3016, allocations: 8.031 kB / 0.9559 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.3017, allocations: 56.47 kB / 0.956 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.3021, allocations: 318.1 kB / 0.9563 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.192e-05/0.3022, allocations: 16.36 kB / 0.9563 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.47e-05/0.3022, allocations: 28.36 kB / 0.9563 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008764/0.3031, allocations: 217.4 kB / 0.9566 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3031, allocations: 192 / 0.9566 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.3032, allocations: 7.938 kB / 0.9566 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3032, allocations: 8 kB / 0.9566 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006933/0.3039, allocations: 99.91 kB / 0.9567 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.3043, allocations: 385.3 kB / 0.957 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009668/0.3053, allocations: 174.5 kB / 0.9572 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006911/0.306, allocations: 112.7 kB / 0.9573 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.306, allocations: 0 / 0.9573 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008953/0.3069, allocations: 227 kB / 0.9575 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.3069, allocations: 4 kB / 0.9575 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.002364/0.3093, allocations: 488.8 kB / 0.958 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.3094, allocations: 59.39 kB / 0.9581 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/0.3098, allocations: 413.8 kB / 0.9584 GB, free: 320 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.59e-05/0.3098, allocations: 41.69 kB / 0.9585 GB, free: 272 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.847e-05/0.3099, allocations: 93.44 kB / 0.9586 GB, free: 176 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.31, allocations: 43.55 kB / 0.9586 GB, free: 132 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.3102, allocations: 121.3 kB / 0.9587 GB, free: 4 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.3103, allocations: 326.8 kB / 0.959 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/0.3105, allocations: 119.9 kB / 0.9592 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.3108, allocations: 171.9 kB / 0.9593 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.3112, allocations: 280.2 kB / 0.9596 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.3112, allocations: 0 / 0.9596 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007465/0.3119, allocations: 496.5 kB / 0.9601 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.772e-05/0.312, allocations: 91.31 kB / 0.9602 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.312, allocations: 0 / 0.9602 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3121, allocations: 4 kB / 0.9602 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.3122, allocations: 27.91 kB / 0.9602 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3123, allocations: 0 / 0.9602 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004537/0.3127, allocations: 75.89 kB / 0.9603 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.184e-05/0.3128, allocations: 55.98 kB / 0.9603 GB, free: 14.3 MB / 0.7481 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.0002028/0.313, allocations: 196 kB / 0.9605 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.065e-05/0.3131, allocations: 39.47 kB / 0.9605 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.965e-05/0.3131, allocations: 39.73 kB / 0.9606 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3132, allocations: 0 / 0.9606 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3132, allocations: 0 / 0.9606 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.3132, allocations: 8 kB / 0.9606 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002093/0.3153, allocations: 0.7389 MB / 0.9613 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.3153, allocations: 3.984 kB / 0.9613 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.3153, allocations: 4 kB / 0.9613 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3153, allocations: 4 kB / 0.9613 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.916e-05/0.3154, allocations: 23.97 kB / 0.9613 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3154, allocations: 11.92 kB / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3154, allocations: 0 / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.317, allocations: 471.2 kB / 0.9618 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002825/0.3173, allocations: 200.5 kB / 0.962 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.279e-05/0.3174, allocations: 12 kB / 0.962 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004389/0.3178, allocations: 27.97 kB / 0.962 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.3179, allocations: 11.92 kB / 0.962 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.413e-05/0.318, allocations: 63.97 kB / 0.9621 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003062/0.3183, allocations: 295.1 kB / 0.9624 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3183, allocations: 7.938 kB / 0.9624 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003613/0.3187, allocations: 60 kB / 0.9624 GB, free: 12 MB / 0.7481 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.0001677/0.3188, allocations: 115.8 kB / 0.9626 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001176/0.32, allocations: 449.3 kB / 0.963 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.32, allocations: 4 kB / 0.963 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007031/0.3207, allocations: 111.9 kB / 0.9631 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.3211, allocations: 31.55 kB / 0.9631 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.3225, allocations: 0.5481 MB / 0.9637 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.3228, allocations: 0.7785 MB / 0.9644 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.74e-05/0.3229, allocations: 9.094 kB / 0.9644 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.3229, allocations: 19.42 kB / 0.9644 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of SimCode: time 4.81e-07/0.3229, allocations: 0 / 0.9644 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of Templates: time 0.008226/0.3312, allocations: 4.922 MB / 0.9693 GB, free: 4.852 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches