Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001766/0.001766, allocations: 194.6 kB / 16.25 MB, free: 6.629 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.418/1.418, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.651/2.651, allocations: 437 MB / 0.71 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 63.91 kB / 0.8687 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6448/0.6463, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.00304/0.6494, allocations: 1.797 MB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.6508, allocations: 0.6207 MB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.613e-05/0.6509, allocations: 0 / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.651, allocations: 7.922 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.6512, allocations: 35.78 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000917/0.6521, allocations: 343.5 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006691/0.6528, allocations: 0.6321 MB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.6529, allocations: 32.88 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000513/0.6535, allocations: 375.1 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002917/0.6538, allocations: 175.2 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.239e-05/0.6539, allocations: 48 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.013e-05/0.6539, allocations: 43.94 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.6541, allocations: 119.7 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002418/0.6544, allocations: 226.8 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000549/0.6549, allocations: 0.6131 MB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.6549, allocations: 3.938 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6549, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.6549, allocations: 0 / 1.022 GB, free: 13.67 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001294/0.6562, allocations: 0.9054 MB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.6563, allocations: 15.98 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.6564, allocations: 52.38 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.6568, allocations: 334.2 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.836e-05/0.6569, allocations: 28.48 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.583e-05/0.657, allocations: 28.36 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.658, allocations: 239.3 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.6581, allocations: 7.938 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.6581, allocations: 4 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.6581, allocations: 0 / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008276/0.6589, allocations: 115.9 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.6603, allocations: 0.6681 MB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.6614, allocations: 186.5 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000797/0.6622, allocations: 116.8 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.6623, allocations: 0 / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/0.6633, allocations: 231.1 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 2.124e-06/0.6634, allocations: 4 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002705/0.6661, allocations: 0.4891 MB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.6661, allocations: 63.38 kB / 1.025 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004728/0.6666, allocations: 445.8 kB / 1.026 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.388e-05/0.6667, allocations: 37.7 kB / 1.026 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.6668, allocations: 105.3 kB / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.6669, allocations: 31.55 kB / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/0.6671, allocations: 141.3 kB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6672, allocations: 330.8 kB / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.6675, allocations: 147.8 kB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.6678, allocations: 185.9 kB / 1.026 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/0.6682, allocations: 310.9 kB / 1.027 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6683, allocations: 0 / 1.027 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008925/0.6692, allocations: 0.5218 MB / 1.027 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.992e-05/0.6693, allocations: 99.56 kB / 1.027 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.6693, allocations: 7.938 kB / 1.027 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.6693, allocations: 4 kB / 1.027 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.6695, allocations: 19.98 kB / 1.027 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/0.6695, allocations: 7.984 kB / 1.027 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005295/0.67, allocations: 59.73 kB / 1.027 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.683e-05/0.6701, allocations: 67.92 kB / 1.028 GB, free: 7.391 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0002615/0.6704, allocations: 220.9 kB / 1.028 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-05/0.6705, allocations: 43.45 kB / 1.028 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.648e-05/0.6705, allocations: 35.8 kB / 1.028 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.6706, allocations: 4 kB / 1.028 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.6706, allocations: 0 / 1.028 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.6706, allocations: 0 / 1.028 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.6729, allocations: 0.7924 MB / 1.029 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.6729, allocations: 0 / 1.029 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.6729, allocations: 7.984 kB / 1.029 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.6729, allocations: 0 / 1.029 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.736e-05/0.673, allocations: 23.92 kB / 1.029 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.673, allocations: 11.94 kB / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.673, allocations: 0 / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.675, allocations: 475.7 kB / 1.029 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003948/0.6754, allocations: 248.4 kB / 1.029 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.355e-05/0.6755, allocations: 19.94 kB / 1.029 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005083/0.676, allocations: 23.97 kB / 1.029 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.676, allocations: 11.98 kB / 1.029 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.47e-05/0.6761, allocations: 59.97 kB / 1.029 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003729/0.6765, allocations: 319.1 kB / 1.03 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6765, allocations: 0 / 1.03 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004717/0.677, allocations: 71.98 kB / 1.03 GB, free: 4.953 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0002412/0.6772, allocations: 129.7 kB / 1.03 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001628/0.6789, allocations: 487.3 kB / 1.03 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.6789, allocations: 384 / 1.03 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008688/0.6798, allocations: 124.7 kB / 1.031 GB, free: 4.199 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005255/0.6803, allocations: 50.06 kB / 1.031 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.6823, allocations: 0.7091 MB / 1.031 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/0.6827, allocations: 0.7941 MB / 1.032 GB, free: 2.598 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.367e-05/0.6828, allocations: 13.42 kB / 1.032 GB, free: 2.582 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.6829, allocations: 23.42 kB / 1.032 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of SimCode: time 5.41e-07/0.6829, allocations: 4 kB / 1.032 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of Templates: time 0.01114/0.694, allocations: 5.607 MB / 1.038 GB, free: 12.86 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches