Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.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.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.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009945/0.009945, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.614/1.614, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.801/2.801, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003907, allocations: 16 kB / 0.8729 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6883/0.6887, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002269/0.691, allocations: 1.459 MB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.6926, allocations: 0.6866 MB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.251e-05/0.6927, allocations: 0 / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.6929, allocations: 3.938 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.693, allocations: 31.78 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009782/0.694, allocations: 343.2 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007812/0.6948, allocations: 0.5267 MB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.695, allocations: 32.89 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007637/0.6958, allocations: 311.1 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005322/0.6963, allocations: 167.1 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.6964, allocations: 12 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.6966, allocations: 23.88 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.6968, allocations: 115.7 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003599/0.6972, allocations: 228.4 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007078/0.6979, allocations: 0.5701 MB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.6979, allocations: 3.938 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.757e-06/0.6979, allocations: 0 / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.6979, allocations: 0 / 1.027 GB, free: 11.35 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.001344/0.6993, allocations: 0.7731 MB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.6993, allocations: 23.97 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.6995, allocations: 48.47 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005843/0.7001, allocations: 334.1 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.761e-05/0.7002, allocations: 28.48 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.7003, allocations: 28.36 kB / 1.029 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.7019, allocations: 250 kB / 1.029 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.702, allocations: 3.938 kB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.613e-05/0.702, allocations: 4 kB / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.702, allocations: 4 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.7032, allocations: 123.9 kB / 1.029 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002015/0.7053, allocations: 0.6759 MB / 1.03 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.7069, allocations: 198.5 kB / 1.03 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.7082, allocations: 128.8 kB / 1.03 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.7082, allocations: 4 kB / 1.03 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001514/0.7098, allocations: 247 kB / 1.03 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 3.026e-06/0.7098, allocations: 0 / 1.03 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.004286/0.7141, allocations: 0.5185 MB / 1.031 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/0.7142, allocations: 63.39 kB / 1.031 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008241/0.715, allocations: 449.8 kB / 1.031 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001752/0.7152, allocations: 41.69 kB / 1.031 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.7154, allocations: 97.44 kB / 1.031 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/0.7155, allocations: 43.45 kB / 1.031 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.7156, allocations: 41.69 kB / 1.031 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.7158, allocations: 326.8 kB / 1.032 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005006/0.7163, allocations: 139.9 kB / 1.032 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005558/0.7169, allocations: 199.4 kB / 1.032 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007091/0.7176, allocations: 302.8 kB / 1.032 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.7176, allocations: 0 / 1.032 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001482/0.7191, allocations: 0.5217 MB / 1.033 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.7193, allocations: 95.38 kB / 1.033 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.7193, allocations: 4 kB / 1.033 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.7193, allocations: 0 / 1.033 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.7195, allocations: 23.92 kB / 1.033 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.7196, allocations: 4.188 kB / 1.033 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007724/0.7203, allocations: 71.78 kB / 1.033 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/0.7205, allocations: 59.92 kB / 1.033 GB, free: 5.207 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.0005106/0.721, allocations: 228.8 kB / 1.033 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.7212, allocations: 43.45 kB / 1.033 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.7213, allocations: 39.8 kB / 1.033 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.7213, allocations: 4 kB / 1.033 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/0.7214, allocations: 0 / 1.033 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.7214, allocations: 0 / 1.033 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003583/0.725, allocations: 0.8104 MB / 1.034 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.725, allocations: 4 kB / 1.034 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.125e-05/0.7251, allocations: 4 kB / 1.034 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/0.7251, allocations: 3.984 kB / 1.034 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.399e-05/0.7252, allocations: 23.92 kB / 1.034 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.7252, allocations: 0 / 1.034 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7252, allocations: 0 / 1.034 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/0.7279, allocations: 0.4931 MB / 1.035 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004972/0.7284, allocations: 240.4 kB / 1.035 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/0.7286, allocations: 23.94 kB / 1.035 GB, free: 3.195 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007558/0.7293, allocations: 35.97 kB / 1.035 GB, free: 3.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.7294, allocations: 11.92 kB / 1.035 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.7295, allocations: 63.97 kB / 1.035 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000561/0.7301, allocations: 319.1 kB / 1.035 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7301, allocations: 0 / 1.035 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000754/0.7308, allocations: 75.89 kB / 1.035 GB, free: 2.703 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.0002562/0.7311, allocations: 123.2 kB / 1.036 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002157/0.7333, allocations: 486.5 kB / 1.036 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7333, allocations: 0 / 1.036 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.7345, allocations: 145.8 kB / 1.036 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000744/0.7353, allocations: 38.22 kB / 1.036 GB, free: 1.895 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.7379, allocations: 0.7341 MB / 1.037 GB, free: 1.133 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005574/0.7385, allocations: 0.7828 MB / 1.038 GB, free: 332 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001219/0.7386, allocations: 9.438 kB / 1.038 GB, free: 320 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/0.7387, allocations: 23.42 kB / 1.038 GB, free: 300 kB / 0.7794 GB Notification: Performance of SimCode: time 6.51e-07/0.7387, allocations: 0 / 1.038 GB, free: 300 kB / 0.7794 GB Notification: Performance of Templates: time 0.01627/0.755, allocations: 5.409 MB / 1.043 GB, free: 10.79 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches