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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,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=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_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.001131/0.001131, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001078/0.001078, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.432/2.432, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 60.41 kB / 0.8707 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3009, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002485/0.3034, allocations: 1.523 MB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.3046, allocations: 0.5437 MB / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.128e-05/0.3046, allocations: 0 / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 8.954e-05/0.3047, allocations: 7.875 kB / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.375e-05/0.3048, allocations: 27.84 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007276/0.3056, allocations: 309.6 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004887/0.3061, allocations: 0.5072 MB / 1.022 GB, free: 6.914 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.875e-05/0.3061, allocations: 8 kB / 1.022 GB, free: 6.906 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003233/0.3064, allocations: 267.7 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.3067, allocations: 147.5 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.873e-05/0.3068, allocations: 28 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.714e-05/0.3068, allocations: 27.94 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.307, allocations: 119.7 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.3071, allocations: 187 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003826/0.3075, allocations: 418.7 kB / 1.023 GB, free: 5.734 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3075, allocations: 4 kB / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3075, allocations: 0 / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.3076, allocations: 0 / 1.023 GB, free: 5.73 MB / 0.795 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.001107/0.3087, allocations: 0.8625 MB / 1.024 GB, free: 4.777 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.3087, allocations: 8.922 kB / 1.024 GB, free: 4.77 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.3088, allocations: 56.47 kB / 1.024 GB, free: 4.715 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.3092, allocations: 310.2 kB / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.869e-05/0.3093, allocations: 24.36 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.436e-05/0.3094, allocations: 20.38 kB / 1.024 GB, free: 4.328 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009306/0.3103, allocations: 214.5 kB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.3103, allocations: 192 / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.3103, allocations: 15.88 kB / 1.024 GB, free: 4.098 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.3104, allocations: 4 kB / 1.024 GB, free: 4.094 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007195/0.3111, allocations: 99.91 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.3115, allocations: 381.3 kB / 1.025 GB, free: 3.574 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009609/0.3124, allocations: 178.4 kB / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006911/0.3131, allocations: 112.7 kB / 1.025 GB, free: 3.277 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.3132, allocations: 7.984 kB / 1.025 GB, free: 3.27 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008739/0.3141, allocations: 227 kB / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.3141, allocations: 0 / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.002359/0.3164, allocations: 482.9 kB / 1.026 GB, free: 2.559 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.3165, allocations: 59.39 kB / 1.026 GB, free: 2.488 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/0.3169, allocations: 413.8 kB / 1.026 GB, free: 2.082 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.275e-05/0.3169, allocations: 45.62 kB / 1.026 GB, free: 2.031 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.217e-05/0.317, allocations: 101.4 kB / 1.026 GB, free: 1.926 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.3171, allocations: 27.56 kB / 1.026 GB, free: 1.898 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.3173, allocations: 137.2 kB / 1.026 GB, free: 1.758 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.644e-05/0.3174, allocations: 318.8 kB / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.3176, allocations: 119.9 kB / 1.027 GB, free: 1.32 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/0.3179, allocations: 171.6 kB / 1.027 GB, free: 1.133 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.3183, allocations: 278.7 kB / 1.027 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3183, allocations: 0 / 1.027 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007553/0.3191, allocations: 494.7 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.558e-05/0.3191, allocations: 91.31 kB / 1.028 GB, free: 232 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3192, allocations: 4 kB / 1.028 GB, free: 228 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3192, allocations: 4 kB / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.3193, allocations: 19.92 kB / 1.028 GB, free: 204 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.3194, allocations: 8 kB / 1.028 GB, free: 196 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004542/0.3198, allocations: 63.92 kB / 1.028 GB, free: 132 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.442e-05/0.3199, allocations: 63.97 kB / 1.028 GB, free: 68 kB / 0.795 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.0002333/0.3202, allocations: 192 kB / 1.028 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.3202, allocations: 39.47 kB / 1.028 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.56e-05/0.3203, allocations: 39.73 kB / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3203, allocations: 4 kB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.3203, allocations: 0 / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3203, allocations: 4 kB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/0.3225, allocations: 0.7443 MB / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3225, allocations: 0 / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.297e-05/0.3226, allocations: 11.98 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3226, allocations: 0 / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.07e-05/0.3226, allocations: 19.98 kB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.3226, allocations: 0 / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3226, allocations: 3.984 kB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.3243, allocations: 473.7 kB / 1.029 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002893/0.3246, allocations: 204.4 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.085e-05/0.3246, allocations: 15.98 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004486/0.3251, allocations: 27.97 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.3251, allocations: 7.984 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-05/0.3252, allocations: 59.97 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000279/0.3255, allocations: 299.1 kB / 1.03 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3255, allocations: 0 / 1.03 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004098/0.3259, allocations: 64 kB / 1.03 GB, free: 13.78 MB / 0.8106 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.0001624/0.3261, allocations: 120.7 kB / 1.03 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001218/0.3273, allocations: 450.4 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3273, allocations: 0 / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006955/0.328, allocations: 115.9 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.3284, allocations: 32.77 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.3298, allocations: 0.5443 MB / 1.031 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.3301, allocations: 0.7747 MB / 1.032 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.116e-05/0.3302, allocations: 13.08 kB / 1.032 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.3302, allocations: 19.42 kB / 1.032 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of SimCode: time 4e-07/0.3302, allocations: 0 / 1.032 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of Templates: time 0.008462/0.3387, allocations: 4.937 MB / 1.037 GB, free: 6.613 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches