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.001201/0.001201, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001632/0.001632, allocations: 191 kB / 16.25 MB, free: 6.637 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.481/1.481, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.481/2.481, allocations: 390.2 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 67.89 kB / 0.8121 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7902/0.7915, allocations: 140.4 MB / 0.9491 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.003659/0.7952, allocations: 1.779 MB / 0.9509 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.7969, allocations: 0.6318 MB / 0.9515 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.663e-05/0.797, allocations: 3.938 kB / 0.9515 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.7972, allocations: 9.266 kB / 0.9515 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.7973, allocations: 26.62 kB / 0.9515 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008773/0.7982, allocations: 337.8 kB / 0.9519 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008152/0.799, allocations: 0.6388 MB / 0.9525 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.7992, allocations: 39.02 kB / 0.9525 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005741/0.7998, allocations: 371.1 kB / 0.9529 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003127/0.8001, allocations: 176 kB / 0.953 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.8002, allocations: 41.84 kB / 0.9531 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.8003, allocations: 41.81 kB / 0.9531 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.8005, allocations: 132.2 kB / 0.9532 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002686/0.8008, allocations: 230.6 kB / 0.9535 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000633/0.8014, allocations: 0.602 MB / 0.954 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.8015, allocations: 0.9062 kB / 0.954 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.156e-06/0.8015, allocations: 0 / 0.954 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.8015, allocations: 3.938 kB / 0.9541 GB, free: 5.551 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.001473/0.803, allocations: 0.8998 MB / 0.9549 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/0.803, allocations: 9.531 kB / 0.9549 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.8032, allocations: 60.3 kB / 0.955 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004665/0.8037, allocations: 336 kB / 0.9553 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.345e-05/0.8038, allocations: 20.8 kB / 0.9553 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.8039, allocations: 28.09 kB / 0.9554 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.805, allocations: 245.5 kB / 0.9556 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.805, allocations: 3.938 kB / 0.9556 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.805, allocations: 3.531 kB / 0.9556 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.805, allocations: 3.984 kB / 0.9556 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007924/0.8058, allocations: 119.2 kB / 0.9557 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.8072, allocations: 0.6801 MB / 0.9564 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.8083, allocations: 184.3 kB / 0.9566 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007552/0.8091, allocations: 120.5 kB / 0.9567 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.8092, allocations: 2.75 kB / 0.9567 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.8102, allocations: 231.2 kB / 0.9569 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/0.8102, allocations: 0 / 0.9569 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002852/0.8131, allocations: 499.3 kB / 0.9574 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.8131, allocations: 65.44 kB / 0.9574 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00061/0.8137, allocations: 443.7 kB / 0.9579 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.92e-05/0.8138, allocations: 41.88 kB / 0.9579 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.893e-05/0.8139, allocations: 101 kB / 0.958 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.814, allocations: 38.25 kB / 0.958 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002775/0.8143, allocations: 132.8 kB / 0.9582 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.313e-05/0.8144, allocations: 330 kB / 0.9585 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003474/0.8147, allocations: 140.1 kB / 0.9586 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/0.8151, allocations: 197.7 kB / 0.9588 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004588/0.8155, allocations: 306.7 kB / 0.9591 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.8156, allocations: 0 / 0.9591 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009917/0.8165, allocations: 0.5199 MB / 0.9596 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.8167, allocations: 93.5 kB / 0.9597 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.8167, allocations: 2.25 kB / 0.9597 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.8167, allocations: 2.125 kB / 0.9597 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.8169, allocations: 31.27 kB / 0.9597 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.817, allocations: 2.25 kB / 0.9597 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005725/0.8175, allocations: 57.91 kB / 0.9598 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.8177, allocations: 61.08 kB / 0.9598 GB, free: 1.324 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.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.0002957/0.818, allocations: 224.7 kB / 0.9601 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-05/0.818, allocations: 40.91 kB / 0.9601 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.176e-05/0.8181, allocations: 44.97 kB / 0.9601 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.882e-06/0.8182, allocations: 6.094 kB / 0.9601 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.8182, allocations: 0 / 0.9601 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.8182, allocations: 1.094 kB / 0.9601 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/0.8206, allocations: 0.7888 MB / 0.9609 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.8206, allocations: 1.062 kB / 0.9609 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.544e-05/0.8207, allocations: 7.969 kB / 0.9609 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.8207, allocations: 0 / 0.9609 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-05/0.8207, allocations: 24.16 kB / 0.9609 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.8207, allocations: 1.188 kB / 0.9609 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.8207, allocations: 0 / 0.9609 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/0.8226, allocations: 487.8 kB / 0.9614 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002589/0.8228, allocations: 243.3 kB / 0.9616 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.561e-05/0.8229, allocations: 28.22 kB / 0.9617 GB, free: 12 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004729/0.8234, allocations: 30.41 kB / 0.9617 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.941e-05/0.8235, allocations: 8.484 kB / 0.9617 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.911e-05/0.8236, allocations: 61.62 kB / 0.9618 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004155/0.824, allocations: 317.3 kB / 0.9621 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.824, allocations: 1.188 kB / 0.9621 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004282/0.8245, allocations: 68.42 kB / 0.9621 GB, free: 15.79 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.0002551/0.8247, allocations: 125.1 kB / 0.9623 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001523/0.8262, allocations: 471.8 kB / 0.9627 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.8263, allocations: 1.125 kB / 0.9627 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000853/0.8271, allocations: 135.4 kB / 0.9628 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/0.8276, allocations: 35.31 kB / 0.9629 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.8296, allocations: 0.7153 MB / 0.9636 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.8301, allocations: 0.7949 MB / 0.9643 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.456e-05/0.8302, allocations: 17.28 kB / 0.9644 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.43e-05/0.8302, allocations: 14.56 kB / 0.9644 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of SimCode: time 8.72e-07/0.8302, allocations: 5 kB / 0.9644 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of Templates: time 0.01274/0.843, allocations: 5.622 MB / 0.9699 GB, free: 10.95 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