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.00151/0.00151, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001429/0.001429, allocations: 191.7 kB / 16.14 MB, free: 6.719 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.568/1.568, allocations: 222.9 MB / 239.8 MB, free: 4.633 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.989/2.989, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 71.81 kB / 0.8686 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8864/0.8884, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.00343/0.8919, allocations: 1.802 MB / 1.018 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.8935, allocations: 0.687 MB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.94e-05/0.8936, allocations: 0 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.8937, allocations: 7.938 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.8939, allocations: 27.84 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008119/0.8947, allocations: 343.4 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005664/0.8953, allocations: 0.5306 MB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.8954, allocations: 36.78 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000429/0.8959, allocations: 311.1 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.8961, allocations: 175 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.057e-05/0.8962, allocations: 16 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.201e-05/0.8963, allocations: 20 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.8965, allocations: 115.6 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000272/0.8968, allocations: 206.7 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00062/0.8974, allocations: 0.582 MB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8974, allocations: 0 / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.042e-06/0.8975, allocations: 0 / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.8975, allocations: 0 / 1.021 GB, free: 13.97 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.001462/0.8989, allocations: 0.9015 MB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/0.899, allocations: 15.98 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.8992, allocations: 52.47 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004691/0.8996, allocations: 342 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.119e-05/0.8997, allocations: 24.55 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.824e-05/0.8998, allocations: 32.36 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.901, allocations: 227.7 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.901, allocations: 3.938 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.901, allocations: 12 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.901, allocations: 0 / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008575/0.9019, allocations: 115.9 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.9035, allocations: 0.672 MB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.9046, allocations: 182.4 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007903/0.9054, allocations: 120.8 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.9054, allocations: 0 / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001046/0.9065, allocations: 241.2 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 2.034e-06/0.9065, allocations: 0 / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002571/0.9091, allocations: 0.4891 MB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.9091, allocations: 63.38 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005194/0.9097, allocations: 441.8 kB / 1.025 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.465e-05/0.9097, allocations: 45.64 kB / 1.025 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.9099, allocations: 101.3 kB / 1.025 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.452e-05/0.9099, allocations: 35.61 kB / 1.025 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002653/0.9102, allocations: 137.3 kB / 1.025 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002243/0.9104, allocations: 326.8 kB / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004621/0.9109, allocations: 147.9 kB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.9112, allocations: 197.9 kB / 1.026 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004771/0.9117, allocations: 294.6 kB / 1.026 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.9117, allocations: 4 kB / 1.026 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009887/0.9127, allocations: 0.5299 MB / 1.027 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.9129, allocations: 93.72 kB / 1.027 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.9129, allocations: 4.188 kB / 1.027 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.9129, allocations: 4 kB / 1.027 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.9131, allocations: 31.91 kB / 1.027 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.9131, allocations: 3.938 kB / 1.027 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005037/0.9136, allocations: 51.86 kB / 1.027 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.9137, allocations: 67.92 kB / 1.027 GB, free: 7.695 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.0003287/0.9141, allocations: 228.3 kB / 1.027 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.717e-05/0.9141, allocations: 35.53 kB / 1.027 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.847e-05/0.9142, allocations: 39.8 kB / 1.027 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.9142, allocations: 4 kB / 1.027 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.9142, allocations: 0 / 1.027 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.9143, allocations: 3.984 kB / 1.027 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002426/0.9167, allocations: 0.7854 MB / 1.028 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.9167, allocations: 3.984 kB / 1.028 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.878e-05/0.9168, allocations: 11.92 kB / 1.028 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.9168, allocations: 0 / 1.028 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.756e-05/0.9168, allocations: 19.92 kB / 1.028 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.9168, allocations: 0 / 1.028 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/0.9168, allocations: 7.984 kB / 1.028 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.9187, allocations: 470.9 kB / 1.029 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003314/0.919, allocations: 248.4 kB / 1.029 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.3e-05/0.9191, allocations: 19.94 kB / 1.029 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004714/0.9196, allocations: 35.95 kB / 1.029 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.9196, allocations: 7.938 kB / 1.029 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-05/0.9197, allocations: 59.97 kB / 1.029 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003816/0.9201, allocations: 315.1 kB / 1.029 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.265e-06/0.9201, allocations: 0 / 1.029 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004679/0.9206, allocations: 79.86 kB / 1.029 GB, free: 5.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.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.000228/0.9208, allocations: 127.8 kB / 1.03 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001444/0.9223, allocations: 472.2 kB / 1.03 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9223, allocations: 0 / 1.03 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007764/0.9231, allocations: 128.2 kB / 1.03 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.9235, allocations: 33.53 kB / 1.03 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.9254, allocations: 0.7171 MB / 1.031 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.9259, allocations: 0.7905 MB / 1.032 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.673e-05/0.9259, allocations: 13.42 kB / 1.032 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.926, allocations: 19.42 kB / 1.032 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of SimCode: time 5.91e-07/0.926, allocations: 0 / 1.032 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of Templates: time 0.01106/0.9371, allocations: 5.454 MB / 1.037 GB, free: 13.33 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=400 -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