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.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.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.001211/0.001211, allocations: 103.5 kB / 15.98 MB, free: 6.352 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.001046/0.001046, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.378/1.378, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.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.488/2.488, allocations: 390.3 MB / 0.665 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 61.75 kB / 0.8127 GB, free: 32.43 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3012, allocations: 140.4 MB / 0.9498 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003307/0.3046, allocations: 1.578 MB / 0.9513 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001743/0.3064, allocations: 0.5421 MB / 0.9518 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.3065, allocations: 0 / 0.9518 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.3067, allocations: 7.922 kB / 0.9518 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.307, allocations: 15.94 kB / 0.9519 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.3081, allocations: 295.3 kB / 0.9521 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008572/0.309, allocations: 0.5033 MB / 0.9526 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.352e-05/0.3091, allocations: 7.984 kB / 0.9526 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000727/0.3098, allocations: 347 kB / 0.953 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003928/0.3102, allocations: 163.4 kB / 0.9531 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.3104, allocations: 28 kB / 0.9531 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.249e-05/0.3105, allocations: 27.94 kB / 0.9532 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.3106, allocations: 127.4 kB / 0.9533 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002431/0.3109, allocations: 190.9 kB / 0.9535 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003767/0.3113, allocations: 323.6 kB / 0.9538 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3113, allocations: 0 / 0.9538 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3113, allocations: 0 / 0.9538 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.3113, allocations: 0 / 0.9538 GB, free: 5.117 MB / 0.7325 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.001544/0.3129, allocations: 0.8586 MB / 0.9546 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.3129, allocations: 8.031 kB / 0.9546 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.3131, allocations: 56.47 kB / 0.9547 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/0.3135, allocations: 310.2 kB / 0.955 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.398e-05/0.3136, allocations: 20.3 kB / 0.955 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.865e-05/0.3137, allocations: 28.38 kB / 0.955 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.3148, allocations: 221.9 kB / 0.9552 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3148, allocations: 192 / 0.9552 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.3148, allocations: 3.938 kB / 0.9552 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.3148, allocations: 4 kB / 0.9552 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007891/0.3156, allocations: 107.9 kB / 0.9554 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004922/0.3161, allocations: 389.3 kB / 0.9557 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.3172, allocations: 170.5 kB / 0.9559 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007934/0.318, allocations: 112.8 kB / 0.956 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.3181, allocations: 0 / 0.956 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/0.3191, allocations: 237.6 kB / 0.9562 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.964e-06/0.3191, allocations: 0 / 0.9562 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.002652/0.3218, allocations: 480.9 kB / 0.9567 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.3218, allocations: 63.39 kB / 0.9567 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004127/0.3223, allocations: 409.8 kB / 0.9571 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.102e-05/0.3223, allocations: 41.69 kB / 0.9572 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.463e-05/0.3224, allocations: 93.44 kB / 0.9573 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.3225, allocations: 39.55 kB / 0.9573 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.3227, allocations: 133.3 kB / 0.9574 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.3229, allocations: 322.8 kB / 0.9577 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.3231, allocations: 123.9 kB / 0.9578 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.3234, allocations: 173.9 kB / 0.958 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003932/0.3238, allocations: 279.1 kB / 0.9583 GB, free: 212 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3238, allocations: 0 / 0.9583 GB, free: 212 kB / 0.7325 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008619/0.3247, allocations: 496.8 kB / 0.9588 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.202e-05/0.3248, allocations: 95.34 kB / 0.9588 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3248, allocations: 4 kB / 0.9589 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3248, allocations: 0 / 0.9589 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.325, allocations: 31.91 kB / 0.9589 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.325, allocations: 7.984 kB / 0.9589 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005103/0.3256, allocations: 55.8 kB / 0.9589 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-05/0.3257, allocations: 63.98 kB / 0.959 GB, free: 15.43 MB / 0.7481 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.0002729/0.326, allocations: 196 kB / 0.9592 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.684e-05/0.326, allocations: 39.47 kB / 0.9592 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.828e-05/0.3261, allocations: 39.75 kB / 0.9593 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3261, allocations: 4 kB / 0.9593 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3261, allocations: 0 / 0.9593 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.3261, allocations: 3.984 kB / 0.9593 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00224/0.3284, allocations: 0.7424 MB / 0.96 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3284, allocations: 3.938 kB / 0.96 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/0.3284, allocations: 4 kB / 0.96 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.3284, allocations: 0 / 0.96 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/0.3285, allocations: 31.84 kB / 0.96 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3285, allocations: 4 kB / 0.96 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3285, allocations: 0 / 0.96 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.3303, allocations: 478.7 kB / 0.9605 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/0.3305, allocations: 200.5 kB / 0.9607 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.42e-05/0.3306, allocations: 8 kB / 0.9607 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004824/0.3311, allocations: 35.95 kB / 0.9607 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.3311, allocations: 4 kB / 0.9607 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-05/0.3312, allocations: 59.97 kB / 0.9608 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003023/0.3315, allocations: 295.1 kB / 0.9611 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3315, allocations: 3.938 kB / 0.9611 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003724/0.3319, allocations: 71.98 kB / 0.9611 GB, free: 13.14 MB / 0.7481 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.0001718/0.3321, allocations: 117 kB / 0.9613 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001302/0.3334, allocations: 438.5 kB / 0.9617 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.3334, allocations: 4.375 kB / 0.9617 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007817/0.3342, allocations: 126.8 kB / 0.9618 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.3346, allocations: 31.55 kB / 0.9618 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.3362, allocations: 0.7019 MB / 0.9625 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.3366, allocations: 0.7783 MB / 0.9633 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.28e-05/0.3367, allocations: 19.42 kB / 0.9633 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of SimCode: time 4.61e-07/0.3367, allocations: 0 / 0.9633 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of Templates: time 0.006683/0.3434, allocations: 3.675 MB / 0.9669 GB, free: 7.129 MB / 0.7481 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