Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.CalendarTimeMonths,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.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_10_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.00148/0.00148, allocations: 104.5 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.001676/0.001676, allocations: 191.5 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.43/1.43, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.496/2.496, allocations: 437.1 MB / 0.711 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 68.2 kB / 0.8699 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3399, allocations: 151.6 MB / 1.018 GB, free: 10.72 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.00291/0.3429, allocations: 1.508 MB / 1.019 GB, free: 9.195 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.3443, allocations: 0.5398 MB / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.462e-05/0.3443, allocations: 4 kB / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.3445, allocations: 7.922 kB / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.3446, allocations: 31.78 kB / 1.02 GB, free: 8.613 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000796/0.3454, allocations: 311.5 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005207/0.346, allocations: 0.5033 MB / 1.021 GB, free: 7.809 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.057e-05/0.346, allocations: 11.94 kB / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003619/0.3464, allocations: 275.6 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/0.3466, allocations: 139.6 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.3468, allocations: 28 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.55e-05/0.3469, allocations: 24 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.347, allocations: 111.7 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002203/0.3472, allocations: 195 kB / 1.022 GB, free: 7.039 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004441/0.3477, allocations: 415 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3477, allocations: 0 / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.046e-06/0.3477, allocations: 0 / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.3477, allocations: 3.938 kB / 1.022 GB, free: 6.629 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.001247/0.349, allocations: 0.8684 MB / 1.023 GB, free: 5.672 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.349, allocations: 8.922 kB / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.3492, allocations: 56.47 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.3496, allocations: 314.1 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.713e-05/0.3496, allocations: 20.36 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.432e-05/0.3497, allocations: 28.36 kB / 1.023 GB, free: 5.215 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.3508, allocations: 217.9 kB / 1.023 GB, free: 4.996 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3508, allocations: 192 / 1.023 GB, free: 4.996 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.103e-05/0.3508, allocations: 3.938 kB / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.3509, allocations: 0 / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008444/0.3517, allocations: 99.91 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005385/0.3523, allocations: 385.3 kB / 1.024 GB, free: 4.469 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.3534, allocations: 178.6 kB / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008218/0.3543, allocations: 108.7 kB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.3543, allocations: 11.98 kB / 1.024 GB, free: 4.164 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001395/0.3557, allocations: 223 kB / 1.024 GB, free: 3.934 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 2.084e-06/0.3557, allocations: 0 / 1.024 GB, free: 3.934 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.002836/0.3586, allocations: 482.5 kB / 1.025 GB, free: 3.457 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.3586, allocations: 59.41 kB / 1.025 GB, free: 3.387 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004414/0.3591, allocations: 413.8 kB / 1.025 GB, free: 2.98 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.65e-05/0.3591, allocations: 45.62 kB / 1.025 GB, free: 2.93 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.479e-05/0.3592, allocations: 97.44 kB / 1.025 GB, free: 2.828 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.135e-05/0.3593, allocations: 47.47 kB / 1.025 GB, free: 2.781 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.3595, allocations: 125.3 kB / 1.026 GB, free: 2.652 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3596, allocations: 322.8 kB / 1.026 GB, free: 2.328 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.3599, allocations: 119.9 kB / 1.026 GB, free: 2.211 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/0.3602, allocations: 177.3 kB / 1.026 GB, free: 2.02 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003892/0.3606, allocations: 273.2 kB / 1.026 GB, free: 1.719 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3606, allocations: 0 / 1.026 GB, free: 1.719 MB / 0.795 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008549/0.3615, allocations: 494.5 kB / 1.027 GB, free: 1.219 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.743e-05/0.3616, allocations: 91.31 kB / 1.027 GB, free: 1.117 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3616, allocations: 3.938 kB / 1.027 GB, free: 1.113 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3617, allocations: 4 kB / 1.027 GB, free: 1.109 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.3618, allocations: 31.91 kB / 1.027 GB, free: 1.078 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.3619, allocations: 4.188 kB / 1.027 GB, free: 1.074 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005427/0.3624, allocations: 63.73 kB / 1.027 GB, free: 1.012 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.67e-05/0.3625, allocations: 59.97 kB / 1.027 GB, free: 0.9531 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.0002445/0.3628, allocations: 196 kB / 1.027 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.184e-05/0.3628, allocations: 43.41 kB / 1.027 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.133e-05/0.3629, allocations: 43.75 kB / 1.027 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3629, allocations: 0 / 1.027 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3629, allocations: 7.984 kB / 1.027 GB, free: 0.6523 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.363, allocations: 4 kB / 1.027 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002364/0.3653, allocations: 0.7461 MB / 1.028 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3653, allocations: 0 / 1.028 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.08e-05/0.3654, allocations: 4 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3654, allocations: 4 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/0.3654, allocations: 19.97 kB / 1.028 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.3654, allocations: 7.984 kB / 1.028 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3655, allocations: 0 / 1.028 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.3674, allocations: 470.8 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/0.3676, allocations: 200.4 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.724e-05/0.3677, allocations: 11.98 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005158/0.3683, allocations: 35.97 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.3683, allocations: 7.984 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.831e-05/0.3684, allocations: 59.98 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003025/0.3687, allocations: 295.1 kB / 1.029 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3687, allocations: 0 / 1.029 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003911/0.3691, allocations: 63.98 kB / 1.029 GB, free: 14.66 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.0001786/0.3693, allocations: 120.5 kB / 1.029 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001421/0.3707, allocations: 453.4 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3707, allocations: 0 / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008566/0.3716, allocations: 116.2 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.372, allocations: 37.47 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.3736, allocations: 0.5924 MB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.374, allocations: 0.7708 MB / 1.031 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.3741, allocations: 19.38 kB / 1.031 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of SimCode: time 3.1e-07/0.3741, allocations: 0 / 1.031 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of Templates: time 0.006252/0.3804, allocations: 3.687 MB / 1.035 GB, free: 8.75 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches