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.00124/0.00124, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01038/0.01038, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.437/1.437, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.423/2.423, allocations: 390.9 MB / 0.6663 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003837, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7976/0.798, allocations: 142.4 MB / 0.955 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001835/0.7999, allocations: 1.231 MB / 0.9562 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.8013, allocations: 0.5876 MB / 0.9568 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.419e-05/0.8014, allocations: 0 / 0.9568 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.8016, allocations: 8.984 kB / 0.9568 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.8017, allocations: 27.27 kB / 0.9568 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008877/0.8026, allocations: 293.6 kB / 0.9571 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006313/0.8032, allocations: 444.7 kB / 0.9575 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.778e-05/0.8033, allocations: 8.578 kB / 0.9576 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006437/0.804, allocations: 304.5 kB / 0.9578 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003912/0.8044, allocations: 158.1 kB / 0.958 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.8045, allocations: 13.56 kB / 0.958 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.222e-05/0.8046, allocations: 14.81 kB / 0.958 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.8048, allocations: 124 kB / 0.9581 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002289/0.805, allocations: 207.6 kB / 0.9583 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004346/0.8055, allocations: 404.9 kB / 0.9587 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.8055, allocations: 0 / 0.9587 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8055, allocations: 1.375 kB / 0.9587 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.8055, allocations: 0 / 0.9587 GB, free: 5.078 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.001226/0.8067, allocations: 0.7538 MB / 0.9595 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.8068, allocations: 9.625 kB / 0.9595 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/0.807, allocations: 54.72 kB / 0.9595 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.8074, allocations: 309.1 kB / 0.9598 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.585e-05/0.8074, allocations: 19.3 kB / 0.9598 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.8076, allocations: 31.02 kB / 0.9599 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.8086, allocations: 223.8 kB / 0.9601 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.8087, allocations: 5.359 kB / 0.9601 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.8087, allocations: 8.984 kB / 0.9601 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.8087, allocations: 1.156 kB / 0.9601 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008299/0.8095, allocations: 112.7 kB / 0.9602 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004964/0.8101, allocations: 388.6 kB / 0.9606 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.8112, allocations: 198 kB / 0.9608 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008247/0.812, allocations: 122.2 kB / 0.9609 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.8121, allocations: 1.906 kB / 0.9609 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.8131, allocations: 230.7 kB / 0.9611 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.846e-06/0.8131, allocations: 0 / 0.9611 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002902/0.816, allocations: 0.5079 MB / 0.9616 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.8161, allocations: 67.2 kB / 0.9617 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006255/0.8167, allocations: 418.5 kB / 0.9621 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001429/0.8169, allocations: 36.83 kB / 0.9621 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.817, allocations: 91.94 kB / 0.9622 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.403e-05/0.817, allocations: 45.64 kB / 0.9622 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.976e-05/0.8171, allocations: 36.36 kB / 0.9623 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.887e-05/0.8172, allocations: 329.1 kB / 0.9626 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.8175, allocations: 121.1 kB / 0.9627 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.8177, allocations: 167.2 kB / 0.9628 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.8181, allocations: 283.3 kB / 0.9631 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.8181, allocations: 1 kB / 0.9631 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008267/0.8189, allocations: 489.7 kB / 0.9636 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.163e-05/0.819, allocations: 93.19 kB / 0.9637 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.819, allocations: 5.969 kB / 0.9637 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.8191, allocations: 3.281 kB / 0.9637 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.8193, allocations: 22.77 kB / 0.9637 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.8193, allocations: 2.656 kB / 0.9637 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005451/0.8198, allocations: 73.41 kB / 0.9638 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.122e-05/0.8199, allocations: 60.23 kB / 0.9638 GB, free: 1.359 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.0002411/0.8202, allocations: 190.1 kB / 0.964 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-05/0.8203, allocations: 40.34 kB / 0.9641 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.225e-05/0.8203, allocations: 44.95 kB / 0.9641 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.8204, allocations: 1.656 kB / 0.9641 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.8204, allocations: 0 / 0.9641 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.8204, allocations: 4.938 kB / 0.9641 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.8228, allocations: 0.7715 MB / 0.9649 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.8228, allocations: 0 / 0.9649 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.046e-05/0.8229, allocations: 7.922 kB / 0.9649 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.8229, allocations: 4.984 kB / 0.9649 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.34e-05/0.8229, allocations: 24.09 kB / 0.9649 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.8229, allocations: 1.062 kB / 0.9649 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8229, allocations: 0 / 0.9649 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.8248, allocations: 0.4886 MB / 0.9654 GB, free: 340 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002461/0.8251, allocations: 203.2 kB / 0.9656 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.642e-05/0.8252, allocations: 10.09 kB / 0.9656 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004868/0.8257, allocations: 39.81 kB / 0.9656 GB, free: 140 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.8257, allocations: 9.078 kB / 0.9656 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.999e-05/0.8258, allocations: 57.06 kB / 0.9657 GB, free: 128 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003682/0.8262, allocations: 294 kB / 0.966 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8262, allocations: 0 / 0.966 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004448/0.8266, allocations: 65.69 kB / 0.966 GB, free: 15.94 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.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.0001989/0.8268, allocations: 112.7 kB / 0.9661 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00149/0.8283, allocations: 457.9 kB / 0.9666 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.8284, allocations: 1.094 kB / 0.9666 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000866/0.8292, allocations: 135.6 kB / 0.9667 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.8297, allocations: 34.02 kB / 0.9667 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.8315, allocations: 0.6792 MB / 0.9674 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.832, allocations: 0.7745 MB / 0.9681 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.532e-05/0.8321, allocations: 16.58 kB / 0.9682 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.837e-05/0.8322, allocations: 13.94 kB / 0.9682 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of SimCode: time 1.062e-06/0.8322, allocations: 1.375 kB / 0.9682 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of Templates: time 0.01228/0.8445, allocations: 4.921 MB / 0.973 GB, free: 11.55 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches