Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.Utilities.Time.Validation.CalendarTimeMonthsPlus,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.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,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.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00173/0.00173, 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.002126/0.002126, allocations: 193.6 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.48/1.48, allocations: 222.9 MB / 239.8 MB, free: 4.641 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.477/2.477, allocations: 390.2 MB / 0.6642 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 71.89 kB / 0.8118 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.89/0.8912, allocations: 140.4 MB / 0.9489 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002905/0.8942, allocations: 1.581 MB / 0.9505 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.8955, allocations: 0.5859 MB / 0.951 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.65e-05/0.8956, allocations: 1.281 kB / 0.951 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.8957, allocations: 7.938 kB / 0.951 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.8959, allocations: 26.72 kB / 0.9511 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007656/0.8966, allocations: 288.1 kB / 0.9513 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004495/0.8971, allocations: 451.7 kB / 0.9518 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.958e-05/0.8971, allocations: 8.766 kB / 0.9518 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005013/0.8977, allocations: 308.5 kB / 0.9521 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003125/0.898, allocations: 161.4 kB / 0.9522 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.8981, allocations: 13.66 kB / 0.9522 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.8982, allocations: 14.16 kB / 0.9522 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.8984, allocations: 120.4 kB / 0.9524 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.8986, allocations: 178.7 kB / 0.9525 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005114/0.8991, allocations: 413.1 kB / 0.9529 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.8991, allocations: 0 / 0.9529 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8991, allocations: 0 / 0.9529 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.8991, allocations: 1.656 kB / 0.9529 GB, free: 6.383 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001826/0.901, allocations: 0.8703 MB / 0.9538 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.901, allocations: 10 kB / 0.9538 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002362/0.9013, allocations: 49.53 kB / 0.9538 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/0.9018, allocations: 313.9 kB / 0.9541 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.257e-05/0.9019, allocations: 18.55 kB / 0.9542 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.902, allocations: 27.11 kB / 0.9542 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.9033, allocations: 214.5 kB / 0.9544 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.9034, allocations: 192 / 0.9544 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.363e-05/0.9034, allocations: 11.92 kB / 0.9544 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.9034, allocations: 2.125 kB / 0.9544 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.9045, allocations: 94.8 kB / 0.9545 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006113/0.9052, allocations: 396.1 kB / 0.9549 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.9066, allocations: 181.2 kB / 0.955 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009973/0.9076, allocations: 112.1 kB / 0.9551 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.9076, allocations: 5.797 kB / 0.9551 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001278/0.9089, allocations: 216.6 kB / 0.9554 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.886e-06/0.9089, allocations: 0 / 0.9554 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.003425/0.9124, allocations: 494.9 kB / 0.9558 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.9124, allocations: 56.91 kB / 0.9559 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006574/0.9131, allocations: 421.3 kB / 0.9563 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001339/0.9132, allocations: 37.48 kB / 0.9563 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.9134, allocations: 96.53 kB / 0.9564 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.897e-05/0.9135, allocations: 36.61 kB / 0.9564 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003875/0.9139, allocations: 123.9 kB / 0.9566 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.976e-05/0.9139, allocations: 326 kB / 0.9569 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003983/0.9143, allocations: 121.2 kB / 0.957 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003995/0.9148, allocations: 174.7 kB / 0.9572 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004587/0.9152, allocations: 284.6 kB / 0.9574 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.9152, allocations: 0 / 0.9574 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001112/0.9164, allocations: 488.5 kB / 0.9579 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.501e-05/0.9165, allocations: 91.16 kB / 0.958 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.9165, allocations: 2.219 kB / 0.958 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.9165, allocations: 2.438 kB / 0.958 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.9168, allocations: 23.2 kB / 0.958 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.9168, allocations: 9.844 kB / 0.958 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007553/0.9175, allocations: 58.67 kB / 0.9581 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.9177, allocations: 64.84 kB / 0.9581 GB, free: 2.582 MB / 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.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.0003165/0.918, allocations: 193.8 kB / 0.9583 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.9181, allocations: 48.59 kB / 0.9584 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.394e-05/0.9182, allocations: 44.58 kB / 0.9584 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.9183, allocations: 1.156 kB / 0.9584 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.9183, allocations: 1.344 kB / 0.9584 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.9183, allocations: 0 / 0.9584 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002932/0.9212, allocations: 0.7466 MB / 0.9591 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.9212, allocations: 3.938 kB / 0.9591 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.826e-05/0.9213, allocations: 7.953 kB / 0.9592 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.9213, allocations: 1.125 kB / 0.9592 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.346e-05/0.9214, allocations: 15.77 kB / 0.9592 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.9214, allocations: 1.312 kB / 0.9592 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.9214, allocations: 3.984 kB / 0.9592 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/0.9237, allocations: 477.3 kB / 0.9596 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003261/0.924, allocations: 200 kB / 0.9598 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.9241, allocations: 14.2 kB / 0.9598 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006594/0.9248, allocations: 34.5 kB / 0.9599 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.9249, allocations: 13.55 kB / 0.9599 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.891e-05/0.925, allocations: 56.5 kB / 0.9599 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004548/0.9254, allocations: 293.9 kB / 0.9602 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9255, allocations: 0 / 0.9602 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006845/0.9261, allocations: 66.44 kB / 0.9603 GB, free: 1.164 MB / 0.7169 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.0002036/0.9264, allocations: 119.4 kB / 0.9604 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00188/0.9282, allocations: 442.7 kB / 0.9608 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.9283, allocations: 0 / 0.9608 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009948/0.9293, allocations: 120.7 kB / 0.9609 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000462/0.9297, allocations: 31.33 kB / 0.961 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.9313, allocations: 0.6611 MB / 0.9616 GB, free: 280 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.9318, allocations: 0.7786 MB / 0.9624 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.921e-05/0.9319, allocations: 16.77 kB / 0.9624 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.953e-05/0.9319, allocations: 17.36 kB / 0.9624 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of SimCode: time 4.91e-07/0.9319, allocations: 1.094 kB / 0.9624 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.01525/0.9472, allocations: 4.961 MB / 0.9672 GB, free: 12.77 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches