Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008656/0.0008653, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006112/0.006112, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.457/1.457, allocations: 223.2 MB / 240.3 MB, free: 5.336 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.461/2.461, allocations: 390.9 MB / 0.6663 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004058, allocations: 8 kB / 0.8159 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7946/0.795, allocations: 142.4 MB / 0.955 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001624/0.7967, allocations: 1.233 MB / 0.9562 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.798, allocations: 0.5837 MB / 0.9568 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.167e-05/0.7981, allocations: 0 / 0.9568 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.627e-05/0.7982, allocations: 9.109 kB / 0.9568 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.7983, allocations: 23.08 kB / 0.9568 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006898/0.799, allocations: 290.9 kB / 0.9571 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005277/0.7995, allocations: 448.2 kB / 0.9575 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.744e-05/0.7996, allocations: 9.016 kB / 0.9575 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005284/0.8002, allocations: 307.7 kB / 0.9578 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000349/0.8005, allocations: 158.2 kB / 0.958 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.859e-05/0.8006, allocations: 18.66 kB / 0.958 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.612e-05/0.8007, allocations: 12.62 kB / 0.958 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.8009, allocations: 121.1 kB / 0.9581 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002601/0.8012, allocations: 203.8 kB / 0.9583 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000569/0.8017, allocations: 412.8 kB / 0.9587 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.8017, allocations: 1.375 kB / 0.9587 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.577e-06/0.8018, allocations: 0 / 0.9587 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.722e-05/0.8018, allocations: 0 / 0.9587 GB, free: 5.164 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.001235/0.803, allocations: 0.7499 MB / 0.9595 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.8031, allocations: 9.625 kB / 0.9595 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.8032, allocations: 54.7 kB / 0.9595 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.8036, allocations: 309.4 kB / 0.9598 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.79e-05/0.8037, allocations: 15.53 kB / 0.9598 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.8038, allocations: 29.55 kB / 0.9599 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.805, allocations: 224.1 kB / 0.9601 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.805, allocations: 192 / 0.9601 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.116e-05/0.8051, allocations: 5.469 kB / 0.9601 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.8051, allocations: 2 kB / 0.9601 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008898/0.806, allocations: 117 kB / 0.9602 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006037/0.8066, allocations: 391.4 kB / 0.9606 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.8078, allocations: 202.7 kB / 0.9608 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008285/0.8086, allocations: 121.2 kB / 0.9609 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.8087, allocations: 6.688 kB / 0.9609 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.8097, allocations: 230.3 kB / 0.9611 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 3.086e-06/0.8097, allocations: 0 / 0.9611 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002879/0.8126, allocations: 0.5089 MB / 0.9616 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.8127, allocations: 68.27 kB / 0.9617 GB, free: 3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004695/0.8132, allocations: 409.5 kB / 0.9621 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.93e-05/0.8133, allocations: 44.59 kB / 0.9621 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.451e-05/0.8133, allocations: 89.2 kB / 0.9622 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.75e-05/0.8134, allocations: 45.31 kB / 0.9622 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.373e-05/0.8135, allocations: 42.94 kB / 0.9623 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.177e-05/0.8136, allocations: 326.2 kB / 0.9626 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.8138, allocations: 121.9 kB / 0.9627 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.8141, allocations: 165.7 kB / 0.9629 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003495/0.8145, allocations: 280.6 kB / 0.9631 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.8145, allocations: 1.188 kB / 0.9631 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008232/0.8153, allocations: 492.5 kB / 0.9636 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.749e-05/0.8154, allocations: 92.62 kB / 0.9637 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.8154, allocations: 2.656 kB / 0.9637 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.8154, allocations: 2.75 kB / 0.9637 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.8156, allocations: 24.17 kB / 0.9637 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.8156, allocations: 3.984 kB / 0.9637 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005223/0.8161, allocations: 72.92 kB / 0.9638 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.234e-05/0.8162, allocations: 58.73 kB / 0.9638 GB, free: 1.449 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.0002251/0.8165, allocations: 189.6 kB / 0.964 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-05/0.8165, allocations: 44.42 kB / 0.9641 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.665e-05/0.8166, allocations: 39.59 kB / 0.9641 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.8166, allocations: 2.156 kB / 0.9641 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.8166, allocations: 8.688 kB / 0.9641 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.8166, allocations: 0 / 0.9641 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/0.8189, allocations: 0.7694 MB / 0.9649 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.8189, allocations: 0.9688 kB / 0.9649 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.8189, allocations: 2.969 kB / 0.9649 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.8189, allocations: 1.031 kB / 0.9649 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/0.819, allocations: 20.06 kB / 0.9649 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.819, allocations: 9.031 kB / 0.9649 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.819, allocations: 0 / 0.9649 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.8209, allocations: 0.4902 MB / 0.9654 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/0.8211, allocations: 199.8 kB / 0.9656 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.341e-05/0.8212, allocations: 9.125 kB / 0.9656 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005189/0.8217, allocations: 40.36 kB / 0.9656 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.8217, allocations: 9.156 kB / 0.9656 GB, free: 232 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.628e-05/0.8218, allocations: 60.91 kB / 0.9657 GB, free: 220 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003348/0.8222, allocations: 294 kB / 0.966 GB, free: 40 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8222, allocations: 0 / 0.966 GB, free: 40 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004663/0.8227, allocations: 70.48 kB / 0.966 GB, free: 28 kB / 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.0002117/0.8229, allocations: 120.6 kB / 0.9661 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001463/0.8243, allocations: 452.6 kB / 0.9666 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.8244, allocations: 4.125 kB / 0.9666 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008351/0.8252, allocations: 126.4 kB / 0.9667 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.8256, allocations: 33.62 kB / 0.9667 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.8274, allocations: 0.6793 MB / 0.9674 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.8278, allocations: 0.7744 MB / 0.9681 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.078e-05/0.8278, allocations: 16.3 kB / 0.9682 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.392e-05/0.8279, allocations: 18.67 kB / 0.9682 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of SimCode: time 7.61e-07/0.8279, allocations: 0 / 0.9682 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of Templates: time 0.01129/0.8392, allocations: 4.917 MB / 0.973 GB, free: 11.64 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches