Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.CalendarTimeMonths,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.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_latest_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.001877/0.001877, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.002157/0.002157, allocations: 194.4 kB / 16.25 MB, free: 6.633 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.448/1.448, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.993/2.993, allocations: 482.3 MB / 0.7543 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 69.28 kB / 0.9233 GB, free: 29.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3114, allocations: 162.2 MB / 1.082 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002819/0.3142, allocations: 1.568 MB / 1.083 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.3156, allocations: 0.546 MB / 1.084 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.461e-05/0.3156, allocations: 4 kB / 1.084 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.3158, allocations: 11.86 kB / 1.084 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.3159, allocations: 19.88 kB / 1.084 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008023/0.3167, allocations: 290.1 kB / 1.084 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005688/0.3173, allocations: 0.4995 MB / 1.085 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.783e-05/0.3173, allocations: 15.91 kB / 1.085 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004834/0.3178, allocations: 346.9 kB / 1.085 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.3181, allocations: 171.3 kB / 1.085 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.384e-05/0.3182, allocations: 24 kB / 1.085 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.102e-05/0.3183, allocations: 28 kB / 1.085 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.3184, allocations: 115.5 kB / 1.085 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002231/0.3186, allocations: 194.8 kB / 1.085 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004602/0.3191, allocations: 430.9 kB / 1.086 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3191, allocations: 0 / 1.086 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3191, allocations: 0 / 1.086 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.719e-06/0.3191, allocations: 0 / 1.086 GB, free: 9.406 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.001374/0.3205, allocations: 0.8704 MB / 1.087 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.3206, allocations: 8.031 kB / 1.087 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.3207, allocations: 48.47 kB / 1.087 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/0.3211, allocations: 314.2 kB / 1.087 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.64e-05/0.3212, allocations: 20.36 kB / 1.087 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.198e-05/0.3213, allocations: 24.36 kB / 1.087 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009857/0.3222, allocations: 210 kB / 1.087 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3223, allocations: 4.188 kB / 1.087 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.3223, allocations: 7.938 kB / 1.087 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.257e-06/0.3223, allocations: 3.938 kB / 1.087 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007687/0.3231, allocations: 99.91 kB / 1.087 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.3236, allocations: 397.2 kB / 1.088 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.3247, allocations: 174.4 kB / 1.088 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007605/0.3254, allocations: 116.8 kB / 1.088 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.3255, allocations: 4 kB / 1.088 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/0.3265, allocations: 219.1 kB / 1.088 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.824e-06/0.3265, allocations: 0 / 1.088 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.002743/0.3292, allocations: 491.7 kB / 1.089 GB, free: 6.23 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.3293, allocations: 59.41 kB / 1.089 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004453/0.3298, allocations: 413.9 kB / 1.089 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.568e-05/0.3298, allocations: 37.7 kB / 1.089 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.205e-05/0.3299, allocations: 101.3 kB / 1.089 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.689e-05/0.33, allocations: 39.53 kB / 1.089 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/0.3302, allocations: 125.3 kB / 1.089 GB, free: 5.438 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.3304, allocations: 326.8 kB / 1.09 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/0.3307, allocations: 119.9 kB / 1.09 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003077/0.331, allocations: 170.4 kB / 1.09 GB, free: 4.805 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/0.3314, allocations: 283.3 kB / 1.09 GB, free: 4.496 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3314, allocations: 3.938 kB / 1.09 GB, free: 4.492 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008963/0.3323, allocations: 484.7 kB / 1.091 GB, free: 4 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.3324, allocations: 91.31 kB / 1.091 GB, free: 3.898 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.3325, allocations: 3.984 kB / 1.091 GB, free: 3.895 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.3325, allocations: 4.188 kB / 1.091 GB, free: 3.891 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.3327, allocations: 31.86 kB / 1.091 GB, free: 3.859 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3327, allocations: 0 / 1.091 GB, free: 3.859 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005273/0.3332, allocations: 59.8 kB / 1.091 GB, free: 3.801 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.542e-05/0.3333, allocations: 63.97 kB / 1.091 GB, free: 3.738 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.0002584/0.3336, allocations: 200 kB / 1.091 GB, free: 3.535 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.55e-05/0.3337, allocations: 39.47 kB / 1.091 GB, free: 3.496 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.557e-05/0.3337, allocations: 39.75 kB / 1.091 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.3338, allocations: 3.984 kB / 1.091 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3338, allocations: 0 / 1.091 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3338, allocations: 4 kB / 1.091 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002344/0.3361, allocations: 0.7444 MB / 1.092 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.3361, allocations: 0 / 1.092 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.53e-05/0.3362, allocations: 4 kB / 1.092 GB, free: 2.641 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.3362, allocations: 3.984 kB / 1.092 GB, free: 2.637 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/0.3362, allocations: 19.98 kB / 1.092 GB, free: 2.617 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.3362, allocations: 4 kB / 1.092 GB, free: 2.613 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3362, allocations: 0 / 1.092 GB, free: 2.613 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/0.3381, allocations: 481.8 kB / 1.093 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002724/0.3384, allocations: 204.4 kB / 1.093 GB, free: 1.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.734e-05/0.3385, allocations: 11.98 kB / 1.093 GB, free: 1.898 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005056/0.339, allocations: 35.97 kB / 1.093 GB, free: 1.863 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.339, allocations: 7.984 kB / 1.093 GB, free: 1.855 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.336e-05/0.3391, allocations: 55.98 kB / 1.093 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003153/0.3394, allocations: 299.1 kB / 1.093 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3394, allocations: 0 / 1.093 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003838/0.3398, allocations: 63.98 kB / 1.093 GB, free: 1.449 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.0002037/0.34, allocations: 119.7 kB / 1.093 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001368/0.3414, allocations: 454.4 kB / 1.094 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3414, allocations: 0 / 1.094 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008075/0.3422, allocations: 120.2 kB / 1.094 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.3426, allocations: 31.2 kB / 1.094 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.3443, allocations: 0.6609 MB / 1.095 GB, free: 16 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.3447, allocations: 0.7706 MB / 1.095 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.225e-05/0.3448, allocations: 13.08 kB / 1.095 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.94e-05/0.3449, allocations: 23.42 kB / 1.095 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.3449, allocations: 0 / 1.095 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of Templates: time 0.01097/0.3558, allocations: 5.121 MB / 1.1 GB, free: 9.98 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches