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.001434/0.001434, allocations: 112.7 kB / 15.99 MB, free: 6.352 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.001354/0.001354, allocations: 192.4 kB / 16.91 MB, free: 6.18 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.472/1.472, allocations: 222.9 MB / 240.6 MB, free: 15.45 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.709/2.709, allocations: 437.1 MB / 0.7107 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 71.67 kB / 0.8694 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3111, allocations: 151.6 MB / 1.017 GB, free: 11.01 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003069/0.3142, allocations: 1.59 MB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.3156, allocations: 0.5345 MB / 1.02 GB, free: 8.867 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.151e-05/0.3157, allocations: 0 / 1.02 GB, free: 8.867 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.3158, allocations: 3.938 kB / 1.02 GB, free: 8.863 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.316, allocations: 31.84 kB / 1.02 GB, free: 8.832 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008149/0.3168, allocations: 275.6 kB / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000601/0.3174, allocations: 0.5111 MB / 1.02 GB, free: 8.051 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.941e-05/0.3174, allocations: 8 kB / 1.02 GB, free: 8.043 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004927/0.3179, allocations: 335 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000284/0.3182, allocations: 171.2 kB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.177e-05/0.3183, allocations: 28 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.464e-05/0.3184, allocations: 28 kB / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.3186, allocations: 119.6 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002308/0.3188, allocations: 198.8 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.3192, allocations: 315.7 kB / 1.021 GB, free: 6.871 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3192, allocations: 0 / 1.021 GB, free: 6.871 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.537e-06/0.3192, allocations: 0 / 1.021 GB, free: 6.871 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.3192, allocations: 7.938 kB / 1.021 GB, free: 6.863 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.001383/0.3206, allocations: 0.8587 MB / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3206, allocations: 12.92 kB / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.3208, allocations: 52.47 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004068/0.3212, allocations: 322 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.792e-05/0.3212, allocations: 20.36 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.083e-05/0.3213, allocations: 28.36 kB / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.3224, allocations: 211.1 kB / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.3224, allocations: 4.188 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.3224, allocations: 7.938 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.3225, allocations: 3.984 kB / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007761/0.3232, allocations: 95.92 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004991/0.3237, allocations: 385.3 kB / 1.023 GB, free: 4.703 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.3249, allocations: 182.3 kB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007765/0.3256, allocations: 108.8 kB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.3257, allocations: 4 kB / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009962/0.3267, allocations: 229.3 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/0.3267, allocations: 0 / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.002823/0.3295, allocations: 484.9 kB / 1.024 GB, free: 3.688 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.3296, allocations: 63.41 kB / 1.024 GB, free: 3.613 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004741/0.3301, allocations: 409.8 kB / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.247e-05/0.3302, allocations: 41.7 kB / 1.025 GB, free: 3.164 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.3303, allocations: 97.44 kB / 1.025 GB, free: 3.062 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.3303, allocations: 47.47 kB / 1.025 GB, free: 3.016 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/0.3306, allocations: 125.3 kB / 1.025 GB, free: 2.887 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.3307, allocations: 322.8 kB / 1.025 GB, free: 2.562 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.331, allocations: 119.9 kB / 1.026 GB, free: 2.445 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.3313, allocations: 179.5 kB / 1.026 GB, free: 2.25 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000418/0.3318, allocations: 275.3 kB / 1.026 GB, free: 1.949 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3318, allocations: 4 kB / 1.026 GB, free: 1.945 MB / 0.795 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008786/0.3327, allocations: 488.6 kB / 1.026 GB, free: 1.449 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.3328, allocations: 95.3 kB / 1.027 GB, free: 1.344 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3328, allocations: 0 / 1.027 GB, free: 1.344 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.3328, allocations: 4 kB / 1.027 GB, free: 1.34 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.333, allocations: 31.92 kB / 1.027 GB, free: 1.309 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.333, allocations: 0 / 1.027 GB, free: 1.309 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005031/0.3335, allocations: 59.98 kB / 1.027 GB, free: 1.25 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-05/0.3336, allocations: 63.97 kB / 1.027 GB, free: 1.188 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.0002662/0.3339, allocations: 192 kB / 1.027 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.55e-05/0.334, allocations: 43.41 kB / 1.027 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.674e-05/0.3341, allocations: 43.73 kB / 1.027 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3341, allocations: 8 kB / 1.027 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3341, allocations: 0 / 1.027 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3341, allocations: 0 / 1.027 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/0.3365, allocations: 0.75 MB / 1.028 GB, free: 88 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3365, allocations: 0 / 1.028 GB, free: 88 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.975e-05/0.3365, allocations: 7.984 kB / 1.028 GB, free: 80 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.3365, allocations: 4 kB / 1.028 GB, free: 76 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/0.3366, allocations: 15.98 kB / 1.028 GB, free: 60 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.3366, allocations: 0 / 1.028 GB, free: 60 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3366, allocations: 0 / 1.028 GB, free: 60 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.3384, allocations: 474.8 kB / 1.028 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002854/0.3387, allocations: 200.5 kB / 1.028 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.832e-05/0.3388, allocations: 15.98 kB / 1.028 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004969/0.3393, allocations: 31.91 kB / 1.028 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.3394, allocations: 15.98 kB / 1.028 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-05/0.3395, allocations: 51.98 kB / 1.028 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003271/0.3398, allocations: 299.1 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3398, allocations: 0 / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003973/0.3402, allocations: 63.98 kB / 1.029 GB, free: 14.9 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.0001937/0.3404, allocations: 124.9 kB / 1.029 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001389/0.3418, allocations: 457.1 kB / 1.029 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3418, allocations: 3.938 kB / 1.029 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008065/0.3426, allocations: 111.9 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.343, allocations: 33.8 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.3448, allocations: 0.7101 MB / 1.03 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.3452, allocations: 0.7669 MB / 1.031 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.432e-05/0.3453, allocations: 19.38 kB / 1.031 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.3453, allocations: 3.938 kB / 1.031 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of Templates: time 0.006545/0.3519, allocations: 3.688 MB / 1.035 GB, free: 8.867 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