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.00166/0.001665, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001809/0.001809, allocations: 192.6 kB / 16.25 MB, free: 6.637 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.488/1.488, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.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.724/2.724, allocations: 437 MB / 0.7101 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 75.88 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6206/0.6226, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.00295/0.6256, allocations: 1.582 MB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.6269, allocations: 0.5267 MB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.775e-05/0.6269, allocations: 0 / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.6271, allocations: 3.938 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.6272, allocations: 31.84 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007843/0.628, allocations: 287.5 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0005783/0.6286, allocations: 0.5033 MB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.648e-05/0.6286, allocations: 11.98 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004703/0.6291, allocations: 339 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.6294, allocations: 167.2 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.666e-05/0.6295, allocations: 28 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.012e-05/0.6296, allocations: 24 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.6297, allocations: 127.6 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002165/0.6299, allocations: 194.8 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004578/0.6304, allocations: 436.4 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.6304, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.644e-06/0.6304, allocations: 3.938 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.6304, allocations: 0 / 1.021 GB, free: 14.53 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.001338/0.6318, allocations: 0.8586 MB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.6318, allocations: 8.031 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.632, allocations: 52.47 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.6324, allocations: 314.2 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.154e-05/0.6324, allocations: 20.36 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-05/0.6325, allocations: 28.38 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.6336, allocations: 217.5 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.6336, allocations: 192 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.6336, allocations: 3.938 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.6337, allocations: 4 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008448/0.6345, allocations: 107.9 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005113/0.635, allocations: 381.2 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.6362, allocations: 182.5 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008251/0.637, allocations: 112.7 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.6371, allocations: 3.938 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/0.6382, allocations: 223.2 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/0.6382, allocations: 0 / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002793/0.641, allocations: 494.9 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/0.641, allocations: 55.41 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000457/0.6415, allocations: 413.8 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.041e-05/0.6416, allocations: 41.69 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.229e-05/0.6417, allocations: 93.38 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.067e-05/0.6418, allocations: 43.55 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/0.642, allocations: 133.3 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.6421, allocations: 318.8 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.6424, allocations: 127.9 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.6427, allocations: 169.9 kB / 1.025 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004001/0.6432, allocations: 274.6 kB / 1.025 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6432, allocations: 0 / 1.025 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009093/0.6441, allocations: 498.5 kB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.755e-05/0.6442, allocations: 92.72 kB / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.6442, allocations: 4 kB / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.6442, allocations: 0 / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.6444, allocations: 27.91 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.6444, allocations: 4 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005392/0.645, allocations: 67.92 kB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.6451, allocations: 63.98 kB / 1.026 GB, free: 8.852 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.0002687/0.6454, allocations: 195.9 kB / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.86e-05/0.6454, allocations: 39.47 kB / 1.026 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.256e-05/0.6455, allocations: 43.69 kB / 1.026 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.6455, allocations: 4 kB / 1.026 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.6455, allocations: 0 / 1.026 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.6456, allocations: 7.984 kB / 1.026 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/0.648, allocations: 0.7363 MB / 1.027 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.648, allocations: 0 / 1.027 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.099e-05/0.648, allocations: 8 kB / 1.027 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.648, allocations: 0 / 1.027 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.663e-05/0.6481, allocations: 23.97 kB / 1.027 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6481, allocations: 0 / 1.027 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6481, allocations: 0 / 1.027 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.65, allocations: 480.5 kB / 1.028 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002667/0.6503, allocations: 200.5 kB / 1.028 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.92e-05/0.6504, allocations: 11.94 kB / 1.028 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000498/0.6509, allocations: 31.95 kB / 1.028 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.6509, allocations: 8 kB / 1.028 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.331e-05/0.651, allocations: 55.97 kB / 1.028 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003284/0.6513, allocations: 299.1 kB / 1.028 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6513, allocations: 3.938 kB / 1.028 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004087/0.6518, allocations: 67.98 kB / 1.028 GB, free: 6.562 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.0001753/0.6519, allocations: 115.8 kB / 1.028 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001399/0.6533, allocations: 455.6 kB / 1.029 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6534, allocations: 0 / 1.029 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008125/0.6542, allocations: 127.8 kB / 1.029 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.6546, allocations: 29.23 kB / 1.029 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.6563, allocations: 0.662 MB / 1.03 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/0.6568, allocations: 0.7747 MB / 1.03 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.627e-05/0.6569, allocations: 13.08 kB / 1.03 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.716e-05/0.6569, allocations: 15.44 kB / 1.03 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.6569, allocations: 0 / 1.03 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of Templates: time 0.01001/0.667, allocations: 5.118 MB / 1.035 GB, free: 15.08 MB / 0.795 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches