Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 89.97 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.009733/0.009734, allocations: 176.2 kB / 16.27 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.595/1.595, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.532/2.532, allocations: 390.9 MB / 0.6663 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005789/0.0005789, allocations: 12 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9922/0.9928, allocations: 142.4 MB / 0.9551 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002863/0.9958, allocations: 1.455 MB / 0.9565 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002173/0.998, allocations: 0.6962 MB / 0.9572 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.401e-05/0.9981, allocations: 1 kB / 0.9572 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.9982, allocations: 7.922 kB / 0.9572 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.9984, allocations: 28.41 kB / 0.9572 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.9996, allocations: 334.2 kB / 0.9575 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007307/1, allocations: 0.528 MB / 0.958 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/1.001, allocations: 34.11 kB / 0.9581 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006048/1.001, allocations: 310.8 kB / 0.9584 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00038/1.002, allocations: 168 kB / 0.9585 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.596e-05/1.002, allocations: 13.75 kB / 0.9585 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.88e-05/1.002, allocations: 13.75 kB / 0.9585 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001916/1.002, allocations: 124.9 kB / 0.9587 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003088/1.002, allocations: 226.4 kB / 0.9589 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006905/1.003, allocations: 0.5712 MB / 0.9594 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/1.003, allocations: 1.344 kB / 0.9594 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.737e-06/1.003, allocations: 0 / 0.9594 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.776e-06/1.003, allocations: 0 / 0.9594 GB, free: 4.566 MB / 0.7169 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.001408/1.004, allocations: 0.7775 MB / 0.9602 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.224e-05/1.004, allocations: 9.188 kB / 0.9602 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002186/1.005, allocations: 59.67 kB / 0.9603 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005834/1.005, allocations: 336.2 kB / 0.9606 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/1.005, allocations: 24.8 kB / 0.9606 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/1.006, allocations: 24.03 kB / 0.9606 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/1.007, allocations: 251.9 kB / 0.9609 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/1.007, allocations: 3.938 kB / 0.9609 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.139e-05/1.007, allocations: 9.109 kB / 0.9609 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/1.007, allocations: 2.25 kB / 0.9609 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/1.009, allocations: 123.5 kB / 0.961 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/1.01, allocations: 0.6731 MB / 0.9617 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/1.011, allocations: 197.4 kB / 0.9619 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007987/1.012, allocations: 126.4 kB / 0.962 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.657e-05/1.012, allocations: 6.234 kB / 0.962 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/1.013, allocations: 245.6 kB / 0.9622 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.565e-06/1.013, allocations: 0 / 0.9622 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002809/1.016, allocations: 0.5212 MB / 0.9627 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/1.016, allocations: 59.84 kB / 0.9628 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006019/1.017, allocations: 444.4 kB / 0.9632 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/1.017, allocations: 41.69 kB / 0.9632 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/1.017, allocations: 105.9 kB / 0.9633 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.472e-05/1.017, allocations: 38.06 kB / 0.9634 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/1.017, allocations: 40.08 kB / 0.9634 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.305e-05/1.017, allocations: 325.2 kB / 0.9637 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/1.018, allocations: 143.9 kB / 0.9639 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/1.018, allocations: 197.5 kB / 0.9641 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/1.019, allocations: 303 kB / 0.9643 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.019, allocations: 0 / 0.9643 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001169/1.02, allocations: 0.5295 MB / 0.9649 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/1.02, allocations: 99.03 kB / 0.965 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/1.02, allocations: 1.312 kB / 0.965 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.119e-05/1.02, allocations: 3.125 kB / 0.965 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/1.02, allocations: 22.36 kB / 0.965 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/1.02, allocations: 3 kB / 0.965 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006978/1.021, allocations: 77.56 kB / 0.9651 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/1.021, allocations: 60.61 kB / 0.9651 GB, free: 448 kB / 0.7169 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.0004629/1.021, allocations: 225.7 kB / 0.9653 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/1.022, allocations: 36.84 kB / 0.9654 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/1.022, allocations: 45.16 kB / 0.9654 GB, free: 208 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/1.022, allocations: 1.188 kB / 0.9654 GB, free: 208 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/1.022, allocations: 0.9375 kB / 0.9654 GB, free: 208 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/1.022, allocations: 0 / 0.9654 GB, free: 208 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002976/1.025, allocations: 0.8107 MB / 0.9662 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.025, allocations: 4 kB / 0.9662 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/1.025, allocations: 3.469 kB / 0.9662 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/1.025, allocations: 0.9375 kB / 0.9662 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/1.025, allocations: 28.5 kB / 0.9662 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/1.025, allocations: 1 kB / 0.9662 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.025, allocations: 0 / 0.9662 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/1.027, allocations: 499.2 kB / 0.9667 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003846/1.027, allocations: 243.4 kB / 0.9669 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/1.028, allocations: 23.56 kB / 0.967 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000521/1.028, allocations: 31.59 kB / 0.967 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/1.028, allocations: 12.86 kB / 0.967 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-05/1.028, allocations: 61.19 kB / 0.9671 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005284/1.029, allocations: 321.7 kB / 0.9674 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/1.029, allocations: 1.031 kB / 0.9674 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006212/1.029, allocations: 75.58 kB / 0.9674 GB, free: 14.9 MB / 0.7325 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.0002575/1.03, allocations: 127 kB / 0.9676 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001768/1.031, allocations: 484.5 kB / 0.968 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/1.031, allocations: 0 / 0.968 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008697/1.032, allocations: 138.2 kB / 0.9682 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/1.033, allocations: 36.58 kB / 0.9682 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/1.035, allocations: 0.7417 MB / 0.9689 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000492/1.035, allocations: 0.783 MB / 0.9697 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001045/1.036, allocations: 12.98 kB / 0.9697 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.85e-05/1.036, allocations: 27.52 kB / 0.9697 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of SimCode: time 6.61e-07/1.036, allocations: 0 / 0.9697 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of Templates: time 0.01479/1.05, allocations: 5.405 MB / 0.975 GB, free: 10.17 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches