Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 97.39 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 184.4 kB / 16.92 MB, free: 6.703 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.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.628/2.628, allocations: 437.8 MB / 0.7128 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003444, allocations: 8 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6312/0.6316, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001807/0.6334, allocations: 1.243 MB / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.6348, allocations: 0.5814 MB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.227e-05/0.6349, allocations: 0 / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.477e-05/0.635, allocations: 7.938 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.6351, allocations: 23.91 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007737/0.6359, allocations: 275.6 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004896/0.6364, allocations: 447.4 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.935e-05/0.6364, allocations: 12 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005059/0.637, allocations: 303 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003478/0.6373, allocations: 167.2 kB / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.548e-05/0.6374, allocations: 12 kB / 1.027 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.468e-05/0.6375, allocations: 12 kB / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.6376, allocations: 115.6 kB / 1.027 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002233/0.6379, allocations: 212.5 kB / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.6382, allocations: 301.4 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.6382, allocations: 0 / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6382, allocations: 4 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.6382, allocations: 0 / 1.027 GB, free: 12.18 MB / 0.7794 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.001084/0.6393, allocations: 0.7536 MB / 1.028 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.6393, allocations: 15.97 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.6395, allocations: 52.47 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.6398, allocations: 318.2 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.925e-05/0.6399, allocations: 12.36 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.85e-05/0.64, allocations: 32.36 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.641, allocations: 218 kB / 1.029 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.641, allocations: 4.188 kB / 1.029 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.6411, allocations: 7.922 kB / 1.029 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.6411, allocations: 0 / 1.029 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007776/0.6419, allocations: 119.4 kB / 1.029 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.6423, allocations: 393.2 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.6434, allocations: 194.4 kB / 1.029 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007659/0.6442, allocations: 120.8 kB / 1.029 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.6442, allocations: 4 kB / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00096/0.6452, allocations: 233.7 kB / 1.03 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.6452, allocations: 0 / 1.03 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002623/0.6478, allocations: 0.5124 MB / 1.03 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.6479, allocations: 55.41 kB / 1.03 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004286/0.6483, allocations: 421.8 kB / 1.031 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.486e-05/0.6484, allocations: 37.7 kB / 1.031 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.056e-05/0.6485, allocations: 97.44 kB / 1.031 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/0.6485, allocations: 39.47 kB / 1.031 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.732e-05/0.6486, allocations: 45.69 kB / 1.031 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.6488, allocations: 322.8 kB / 1.031 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/0.649, allocations: 119.9 kB / 1.031 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.6493, allocations: 173.8 kB / 1.031 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003723/0.6497, allocations: 274.7 kB / 1.032 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.6497, allocations: 4 kB / 1.032 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008207/0.6505, allocations: 490 kB / 1.032 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.6506, allocations: 95.31 kB / 1.032 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.6507, allocations: 0 / 1.032 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.6507, allocations: 4 kB / 1.032 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.6509, allocations: 19.98 kB / 1.032 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.6509, allocations: 7.938 kB / 1.032 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005184/0.6514, allocations: 79.91 kB / 1.032 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.68e-05/0.6515, allocations: 55.98 kB / 1.032 GB, free: 6.594 MB / 0.7794 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.0002487/0.6518, allocations: 188.6 kB / 1.033 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.246e-05/0.6518, allocations: 39.47 kB / 1.033 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.073e-05/0.6519, allocations: 47.73 kB / 1.033 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.6519, allocations: 0 / 1.033 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.6519, allocations: 0 / 1.033 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.652, allocations: 3.938 kB / 1.033 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/0.6543, allocations: 0.7736 MB / 1.033 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.6543, allocations: 7.938 kB / 1.033 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.483e-05/0.6543, allocations: 4 kB / 1.033 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.6543, allocations: 3.938 kB / 1.033 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.5e-05/0.6544, allocations: 19.97 kB / 1.033 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.6544, allocations: 0 / 1.033 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6544, allocations: 0 / 1.033 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.6561, allocations: 0.491 MB / 1.034 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/0.6564, allocations: 200.5 kB / 1.034 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7e-05/0.6565, allocations: 8 kB / 1.034 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004878/0.657, allocations: 39.97 kB / 1.034 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.657, allocations: 7.984 kB / 1.034 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.5e-05/0.6571, allocations: 59.97 kB / 1.034 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002952/0.6574, allocations: 299.1 kB / 1.035 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6574, allocations: 0 / 1.035 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00035/0.6577, allocations: 67.98 kB / 1.035 GB, free: 4.25 MB / 0.7794 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.0001641/0.6579, allocations: 122.5 kB / 1.035 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001305/0.6592, allocations: 458.4 kB / 1.035 GB, free: 3.652 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6592, allocations: 0 / 1.035 GB, free: 3.652 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000783/0.66, allocations: 133.2 kB / 1.035 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.6605, allocations: 25.48 kB / 1.035 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.6621, allocations: 0.7214 MB / 1.036 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.6625, allocations: 0.7789 MB / 1.037 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.6626, allocations: 15.44 kB / 1.037 GB, free: 1.922 MB / 0.7794 GB Notification: Performance of SimCode: time 4.71e-07/0.6626, allocations: 0 / 1.037 GB, free: 1.922 MB / 0.7794 GB Notification: Performance of Templates: time 0.006427/0.669, allocations: 3.667 MB / 1.04 GB, free: 14.21 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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