Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 195.9 kB / 16.79 MB, free: 6.809 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.417/1.417, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.424/2.424, allocations: 390.2 MB / 0.6649 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 59.91 kB / 0.8125 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5969/0.5984, allocations: 140.4 MB / 0.9496 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002325/0.6008, allocations: 1.579 MB / 0.9511 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.6019, allocations: 0.5928 MB / 0.9517 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.731e-05/0.602, allocations: 0 / 0.9517 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.307e-05/0.6021, allocations: 5.156 kB / 0.9517 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.651e-05/0.6022, allocations: 27.77 kB / 0.9517 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005728/0.6028, allocations: 282.2 kB / 0.952 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003307/0.6031, allocations: 448 kB / 0.9524 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.6032, allocations: 12.61 kB / 0.9524 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000348/0.6035, allocations: 309.2 kB / 0.9527 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.6038, allocations: 157.5 kB / 0.9529 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.146e-05/0.6039, allocations: 13.22 kB / 0.9529 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.254e-05/0.604, allocations: 14.72 kB / 0.9529 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.6041, allocations: 119.9 kB / 0.953 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.6043, allocations: 182.8 kB / 0.9532 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.6045, allocations: 305 kB / 0.9535 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.6045, allocations: 1.594 kB / 0.9535 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.72e-07/0.6045, allocations: 4 kB / 0.9535 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.6045, allocations: 0 / 0.9535 GB, free: 6.445 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.001027/0.6056, allocations: 0.8704 MB / 0.9543 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.6056, allocations: 9.688 kB / 0.9543 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.6057, allocations: 50.88 kB / 0.9544 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.606, allocations: 309.7 kB / 0.9547 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.715e-05/0.6061, allocations: 18.17 kB / 0.9547 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.692e-05/0.6062, allocations: 34.47 kB / 0.9547 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.6072, allocations: 214.4 kB / 0.9549 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.6072, allocations: 192 / 0.9549 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.415e-05/0.6073, allocations: 5.281 kB / 0.9549 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.6073, allocations: 1.406 kB / 0.955 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008243/0.6081, allocations: 103.4 kB / 0.955 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.6085, allocations: 392.1 kB / 0.9554 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.6096, allocations: 177.7 kB / 0.9556 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008181/0.6104, allocations: 115.6 kB / 0.9557 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.6104, allocations: 5.297 kB / 0.9557 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.6114, allocations: 220.6 kB / 0.9559 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.275e-06/0.6115, allocations: 1 kB / 0.9559 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002705/0.6142, allocations: 493 kB / 0.9564 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.6142, allocations: 60.59 kB / 0.9564 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003766/0.6146, allocations: 409.2 kB / 0.9568 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/0.6147, allocations: 41.94 kB / 0.9569 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.6147, allocations: 96.31 kB / 0.957 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.6148, allocations: 37.05 kB / 0.957 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.615, allocations: 131.9 kB / 0.9571 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.155e-05/0.615, allocations: 326.6 kB / 0.9574 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.6153, allocations: 124.2 kB / 0.9576 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.6156, allocations: 167 kB / 0.9577 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.6159, allocations: 283.8 kB / 0.958 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.6159, allocations: 0.7812 kB / 0.958 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008/0.6167, allocations: 487.8 kB / 0.9585 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.851e-05/0.6168, allocations: 88.03 kB / 0.9585 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.6168, allocations: 5.656 kB / 0.9585 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.6169, allocations: 3.094 kB / 0.9585 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.617, allocations: 30.66 kB / 0.9586 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.6171, allocations: 2.375 kB / 0.9586 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005413/0.6176, allocations: 58.83 kB / 0.9586 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.498e-05/0.6177, allocations: 56.73 kB / 0.9587 GB, free: 2.648 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.0002113/0.6179, allocations: 202.5 kB / 0.9589 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.817e-05/0.618, allocations: 39.91 kB / 0.9589 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.056e-05/0.6181, allocations: 36.19 kB / 0.959 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.6181, allocations: 2.188 kB / 0.959 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.6181, allocations: 0 / 0.959 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.6181, allocations: 7.984 kB / 0.959 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/0.6203, allocations: 0.7523 MB / 0.9597 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6203, allocations: 0 / 0.9597 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.6203, allocations: 7.688 kB / 0.9597 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.6203, allocations: 1.375 kB / 0.9597 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.875e-05/0.6204, allocations: 24.12 kB / 0.9597 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6204, allocations: 4 kB / 0.9597 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6204, allocations: 1.219 kB / 0.9597 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.6222, allocations: 477.6 kB / 0.9602 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/0.6224, allocations: 201.4 kB / 0.9604 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.411e-05/0.6225, allocations: 11.94 kB / 0.9604 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004957/0.623, allocations: 32.02 kB / 0.9604 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.623, allocations: 7.203 kB / 0.9604 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.948e-05/0.6231, allocations: 58.48 kB / 0.9605 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002725/0.6234, allocations: 297.5 kB / 0.9608 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6234, allocations: 0 / 0.9608 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004831/0.6239, allocations: 66.83 kB / 0.9608 GB, free: 1.227 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.0001895/0.6241, allocations: 120.1 kB / 0.961 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001464/0.6255, allocations: 439.6 kB / 0.9614 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6256, allocations: 1.656 kB / 0.9614 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008685/0.6264, allocations: 123.8 kB / 0.9615 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.6269, allocations: 34.64 kB / 0.9615 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.6286, allocations: 0.7015 MB / 0.9622 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.6289, allocations: 0.7819 MB / 0.963 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/0.629, allocations: 23.08 kB / 0.963 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.629, allocations: 0 / 0.963 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of Templates: time 0.006371/0.6354, allocations: 3.667 MB / 0.9666 GB, free: 13.53 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches