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.1-maint.10.0.x/package.mo", uses=false) 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=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.001635/0.001635, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001771/0.001771, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.441/1.441, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 437.1 MB / 0.711 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 63.59 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3209, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002918/0.3238, allocations: 1.519 MB / 1.019 GB, free: 9.121 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.3252, allocations: 0.5399 MB / 1.02 GB, free: 8.582 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.126e-05/0.3253, allocations: 0 / 1.02 GB, free: 8.582 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.374e-05/0.3254, allocations: 11.88 kB / 1.02 GB, free: 8.57 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.896e-05/0.3255, allocations: 23.84 kB / 1.02 GB, free: 8.547 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007773/0.3263, allocations: 313.8 kB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005588/0.3269, allocations: 0.5033 MB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.233e-05/0.3269, allocations: 12 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003874/0.3273, allocations: 267.7 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.3276, allocations: 135.6 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.3277, allocations: 28 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.3278, allocations: 28 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.3279, allocations: 115.7 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002185/0.3282, allocations: 191 kB / 1.022 GB, free: 6.977 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004768/0.3286, allocations: 415 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3287, allocations: 7.938 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3287, allocations: 0 / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3287, allocations: 0 / 1.022 GB, free: 6.562 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.001311/0.33, allocations: 0.8665 MB / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.33, allocations: 8.922 kB / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.3302, allocations: 56.41 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004065/0.3306, allocations: 318.1 kB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.005e-05/0.3306, allocations: 20.36 kB / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.279e-05/0.3307, allocations: 32.36 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.3317, allocations: 209.1 kB / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.3318, allocations: 192 / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.3318, allocations: 3.938 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3318, allocations: 4 kB / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007957/0.3326, allocations: 103.8 kB / 1.024 GB, free: 4.824 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.3331, allocations: 385.3 kB / 1.024 GB, free: 4.398 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.3342, allocations: 178.6 kB / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007875/0.335, allocations: 116.8 kB / 1.024 GB, free: 4.098 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.3351, allocations: 0 / 1.024 GB, free: 4.098 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/0.3361, allocations: 223 kB / 1.024 GB, free: 3.867 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.3361, allocations: 0 / 1.024 GB, free: 3.867 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.002676/0.3388, allocations: 486.7 kB / 1.025 GB, free: 3.387 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.3388, allocations: 67.39 kB / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004511/0.3393, allocations: 413.8 kB / 1.025 GB, free: 2.902 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.629e-05/0.3394, allocations: 49.58 kB / 1.025 GB, free: 2.848 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.039e-05/0.3395, allocations: 89.44 kB / 1.025 GB, free: 2.754 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.388e-05/0.3395, allocations: 39.55 kB / 1.025 GB, free: 2.715 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.3397, allocations: 129.3 kB / 1.026 GB, free: 2.582 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3399, allocations: 322.8 kB / 1.026 GB, free: 2.258 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.3402, allocations: 123.9 kB / 1.026 GB, free: 2.137 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/0.3406, allocations: 169.5 kB / 1.026 GB, free: 1.953 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004116/0.341, allocations: 282.8 kB / 1.026 GB, free: 1.645 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.341, allocations: 0 / 1.026 GB, free: 1.645 MB / 0.795 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008983/0.3419, allocations: 492.8 kB / 1.027 GB, free: 1.145 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.342, allocations: 95.25 kB / 1.027 GB, free: 1.039 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.342, allocations: 7.984 kB / 1.027 GB, free: 1.031 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3421, allocations: 0 / 1.027 GB, free: 1.031 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.3422, allocations: 19.98 kB / 1.027 GB, free: 1.012 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.3422, allocations: 7.938 kB / 1.027 GB, free: 1.004 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005109/0.3428, allocations: 63.78 kB / 1.027 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.601e-05/0.3429, allocations: 67.94 kB / 1.027 GB, free: 0.875 MB / 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.0002468/0.3431, allocations: 192 kB / 1.027 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.476e-05/0.3432, allocations: 39.47 kB / 1.027 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.539e-05/0.3433, allocations: 39.73 kB / 1.027 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.3433, allocations: 7.984 kB / 1.027 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3433, allocations: 0 / 1.027 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3433, allocations: 0 / 1.027 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/0.3456, allocations: 0.7464 MB / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3457, allocations: 4 kB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.056e-05/0.3457, allocations: 7.984 kB / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.3457, allocations: 0 / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.3458, allocations: 27.92 kB / 1.028 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3458, allocations: 3.984 kB / 1.028 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3458, allocations: 0 / 1.028 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.3476, allocations: 474.8 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002572/0.3479, allocations: 192.5 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.052e-05/0.348, allocations: 19.98 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005176/0.3485, allocations: 27.97 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.3485, allocations: 7.984 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.955e-05/0.3486, allocations: 55.98 kB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000308/0.3489, allocations: 295.1 kB / 1.029 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3489, allocations: 4 kB / 1.029 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003727/0.3493, allocations: 63.98 kB / 1.029 GB, free: 14.6 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.0001691/0.3495, allocations: 123.1 kB / 1.029 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001395/0.3509, allocations: 449.1 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3509, allocations: 8 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008106/0.3517, allocations: 115.9 kB / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.3521, allocations: 31.38 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.3537, allocations: 0.6 MB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/0.3542, allocations: 0.7747 MB / 1.031 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.604e-05/0.3543, allocations: 15.44 kB / 1.031 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of SimCode: time 3e-07/0.3543, allocations: 0 / 1.031 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of Templates: time 0.006476/0.3608, allocations: 3.678 MB / 1.035 GB, free: 8.68 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=400 -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) "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time